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....



Load


Unit: SDL_dstruct
Class: TFeatureMatrix
Declaration: function Load (FName: string): integer;

The method Load loads the cells of a feature matrix from a structured text file named FName. The size of the feature matrix is automatically adjusted to fit the data in the file.

The method returns the following error codes:

 0 ... everything is OK, the data values have been read and the matrix configured
-1 ... the file could not be found
-2 ... the keywords could not be found (mostly due to files which do not contain data of a feature matrix)
-3 ... one or more of the keyword values could not be read (mostly due to invalid type formats)

Hint: See the description of the Save procedure for a specification of the file format.



Last Update: 2017-Apr-18