LoadMATFile

Declaration: TMatlab5WorkSpace.LoadMATFile (IFile: TFileStream): integer;
The method LoadMATFile loads the data stored in the file stream IFile into the workspace.

The function returns the following error codes:

 0 ... everything is OK, the data has been loaded
-1 ... the stream does not contain data conforming to the MatLab 5 format