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 i < 0 or i m, where m is the number of rows,
- the zero based column index j < 0 or j n, where n is the number of columns. Note that j must be 0 for a vector.
This block does not propagate the signal quality. More information can be found in the 1.4 section.
Input
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) |
Output
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]
2024 © REX Controls s.r.o., www.rexygen.com