MAT_GETVERSION(3) | Library Functions Manual | MAT_GETVERSION(3) |
Mat_GetVersion
—
Returns the version of a MATLAB MAT file given a MAT file
structure.
#include
<matio.h>
enum mat_ft
Mat_GetVersion
(mat_t
*matfp);
The
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_MAT4
if the file is a version 4 MAT file.MAT_FT_MAT5
if the file is a version 5 MAT file.MAT_FT_MAT73
if the file is an HDF5 MAT file.Mat_CreateVer(3), Mat_Open(3), Mat_GetFilename(3), Mat_GetHeader(3)
September 12, 2019 | Debian |