MX_DIM – Matrix/Vector dimensions

Block SymbolLicensing group: STANDARD
PIC

Function Description
The function block MX_DIM sets its outputs to the dimensions of the matrix or vector referenced by uMV.

The output reference yMV is always set to the corresponding input reference uMV. The error flag E is set to on if the reference uMV is not defined (i.e. input uMV is not connected).

Input

uMV

Input reference to a matrix or vector

reference

Outputs

yMV

Output reference to a matrix or vector

reference

m

Number of matrix rows

long

n

Number of matrix columns

long

ld

Leading dimension (>= number of rows)

long

cnt

Count of allocated elements (>= number of rows * number of columns)

long

2019 © REX Controls s.r.o., www.rexygen.com