MX_ATSET – Set Matrix/Vector element
Block SymbolLicensing group: STANDARD
Function Description
The function block MX_ATSET sets the value (input value) to the matrix element at the i-th
row and j-th column or to the i-th vector element.
The output reference yMV is always set to the corresponding input reference uMV to the connected matrix/vector.
The error flag E is set to on if:
- the reference uMV is not defined (i.e. input uMV is not connected),
- the zero based row index or , where m is the number of rows,
- the zero based column index or , where n is the number of columns. Note that j must be for a vector.
Inputs
uMV | Input reference to a matrix or vector | Reference |
i | Row index of the element 0 | Long (I32) |
j | Column index of the element 0 | Long (I32) |
value | Value which should be set to the element at position (i,j) | Long (I32) |
Outputs
yMV | Output reference to a matrix or vector | Reference |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2023 © REX Controls s.r.o., www.rexygen.com