Mat_GetVersion (3) Linux Manual Page
Mat_GetVersion – Returns the filename of a MATLAB .mat file given a MAT file structure
Synopsis
Fd #include <matio.h> Ft enum mat_ft Fo Mat_GetVersion Fa mat_t *matfp Fc
Description
The Fn Mat_GetVersion function returns the version of the MATLAB .mat file given by the MAT file structure. The return value is one of the following:
-
MAT_FT_MAT73if the file is an HDF5 MAT file. -
MAT_FT_MAT5if the file is a level 5 MAT file. -
MAT_FT_MAT4if the file is a level 4 MAT file.
See Also
Mat_Create3, Mat_CreateVer3, Mat_Open3 Mat_GetFilename3
