DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


LoadMatrixBin

Declaration: LoadMatrixBin(FName: string; var Mat: TDouble2DArray; var DataID: string): integer;
The function LoadMatrixBin loads the data of an array previously stored by the function SaveMatrixBin into the array Mat. The parameter FName specifies the filename of the stored array, the variable parameter DataID returns any single-line user-defined data identifier.

The function returns the following error codes:

 0 ... everything is OK
-1 ... cannot read file FName (missing or invalid format)

Hint: The binary data format used by this routine is compatible with the binary data format used by TMatrix.SaveBinary.