GetDims4DMat

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