1MAT_GETVERSION(3) BSD Library Functions Manual MAT_GETVERSION(3)
2
4 Mat_GetVersion — Returns the version 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.
16
18 The return value is one of the following:
19
20 • MAT_FT_MAT4 if the file is a version 4 MAT file.
21
22 • MAT_FT_MAT5 if the file is a version 5 MAT file.
23
24 • MAT_FT_MAT73 if the file is an HDF5 MAT file.
25
27 Mat_CreateVer(3), Mat_Open(3), Mat_GetFilename(3), Mat_GetHeader(3)
28
29BSD September 12, 2019 BSD