1MAT_GETVERSION(3) BSD Library Functions Manual MAT_GETVERSION(3)
2
4 Mat_GetVersion — Returns the filename of a MATLAB .mat file given a MAT
5 file structure
6
8 #include <matio.h>
9
10 enum mat_ft
11 Mat_GetVersion(mat_t *matfp);
12
14 The Mat_GetVersion() function returns the version of the MATLAB .mat file
15 given by the MAT file structure. The return value is one of the follow‐
16 ing:
17
18 · MAT_FT_MAT73 if the file is an HDF5 MAT file.
19
20 · MAT_FT_MAT5 if the file is a level 5 MAT file.
21
22 · MAT_FT_MAT4 if the file is a level 4 MAT file.
23
25 Mat_Create(3), Mat_CreateVer(3), Mat_Open(3) Mat_GetFilename(3)
26
27BSD March 12, 2012 BSD