|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....|
|Home MathPack Matrix Class TMat4D Methods AppendToBinaryFile|
|See also: SaveBinary (Mat4D), SaveBinary (Matrix)|
The method AppendToBinaryFile appends selected time slots between TSlotStart and TSlotEnd to the file FName. As a prerequisite, the number of columns, the number of rows, and the number of layers of both the matrix in memory and the matrix on file must be equal; otherwise an exception is raised.
If any of the time slot parameters are zero or negative, the entire data matrix is appended. If TSlotStart is within the data range but TSlotEnd is beyond the maximum time slot, only the available data are saved.
The function returns the following error codes:
0 ... everything is OK