LoadMat3DBin

Declaration: LoadMat3DBin(FName: string; var Data: TDouble3DArray; var DataID: string): integer;
The function LoadMat3DBin loads the data of a three-dimensional array previously stored by the function SaveMat3DBin into the array Data. 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: Please note that the functions LoadMat3DBin and SaveMat3DBin are highly optimized and should be routinely used for storing arrays.