The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_matrix
Class: TMat4D
Declaration: function ReadBinaryHeader (FName: string; var NrColumns, NrRows, NrLayers, NrTimeSlots: integer; var DataID: string): boolean;

The function ReadBinaryHeader reads the header of the binary data file FName and returns the dimension of the hypercube matrix in the variable parameters NrColumns, NrRows, NrLayers, and NrTimeSlots. The variable parameter DataID returns the ID string of the matrix. The function value returns TRUE if the data in the binary file represent a valid TMat4D structure.

Hint: The file must not be open when calling ReadBinaryHeader.

Last Update: 2016-Jun-29