GetDims2DMat

Declaration: TMatlab5WorkSpace.GetDims2DMat (MatIdx: integer; var sx, sy: integer): integer;
The function GetDims2DMat retrieves the size of the two-dimensional matrix referenced by the parameter MatIdx (valid range: 1...NrOf2DMats). The dimensions are returned in the variable parameters sx and sy. The function returns a zero value if sx and sy are valid, or a -1 value if the parameter MatIdx is out of bounds.