The function DimOf2DMat returns the size of the two-dimensional matrix referenced by the parameter MatIdx (valid range: 1...NrOf2DMats) for the axis specified by Dim (allowed values: dimX and dimY).
The function returns the following error codes:
>0 ... the dimension of the matrix along the requested axis
-1 ... the parameter MatIdx is out of range
-2 ... the specified Dim is invalid
|