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



LoadFromOpenFile


Unit: SDL_dstruct
Class: TFeatureMatrix
Declaration: function LoadFromOpenFile (const IFile: TextFile): integer;

The method LoadFromOpenFile loads the feature matrix data from the open text file IFile. The file pointer should point to the first keyword of the feature matrix data (#featdef - see the Save method for details on the data format).

The method returns the following error codes:

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


Last Update: 2023-Feb-06