DimOf3DMat

Declaration: TMatlab5WorkSpace.DimOf3DMat (MatIdx: integer; Dim: TDims): integer;
The function DimOf3DMat returns the size of the three-dimensional matrix referenced by the parameter MatIdx (valid range: 1...NrOf3DMats) for the axis specified by Dim (allowed values: dimX, dimY and dimL).

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

Hint: If you want to obtain all dimensions at once you may consider the function GetDims3DMat.