CopyFrom3DMat

Declaration: TMatlab5WorkSpace.CopyFrom3DMat (MatIdx: integer; SrcMat: TDouble3DArray): integer;
The method CopyFrom3DMat copies the three-dimensional matrix SrcMat into the MatLab 5 workspace overwriting the matrix referenced by MatIdx (valid range: 1...NrOf3DMats).

The function returns one of the following error codes:

 0 ... everything OK, DestMat is valid
-1 ... SrcMat has zero size
-2 ... MatIDx is out of bounds