IsML4File

Declaration: IsML4File (IFile: TFileStream): boolean;
The function IsML4File returns TRUE if the file stream IFile is a valid MatLab file using MatLab 4 format.

Please note that the function IsML4File assumes that the file stream IFile contains any kind of MatLab file of format 4 or higher. If the file stream contains a non-MatLab file, the returned function value can be misleading. A better way to check the presence of a MatLab 4 data file is to use the funtion CountML4Matrices which performs a more thorough analysis.