MX_AT – Get Matrix/Vector element
Block SymbolLicensing group: STANDARD
Function Description
The function block MX_AT returns the value (output value) of the matrix element at the i-th
row and j-th column or 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 0.00E+00 | Long (I32) |
j | Column index of the element 0 0.00E+00 | Long (I32) |
Outputs
yMV | Output reference to a matrix or vector | Reference |
value | Value of element at position (i,j) | Long (I32) |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2020 © REX Controls s.r.o., www.rexygen.com