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: procedure LoadBinary (FName: string; TSlotStart, TSlotEnd: integer);

The method LoadBinary loads all data from the file FName starting with the time slot TSlotStart up to TSlotEnd. The hypercube matrix is resized accordingly.

If any of the time slot parameters TSlotStart and TSlotEnd is zero or negative, the entire data file is read into the matrix. If TSlotStart is beyond the maximum time slot of the data file an exception is raised, if TSlotStart is within the data range but TSlotEnd is beyond the maximum time slot, only the available data are read (the size of the matrix is reduced accordingly).

Hint: The method LoadBinary triggers the OnPercentDone event to allow to implement a progress indicator when working with large files.

Last Update: 2016-Jun-28