logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mat_GetVersion — Returns the version of a MATLAB MAT file given a MAT file structure.

Description

       The Mat_GetVersion() function returns the version of the MATLAB MAT file given by the MAT file structure.

Name

       Mat_GetVersion — Returns the version of a MATLAB MAT file given a MAT file structure.

Return Values

       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.

See Also

Mat_CreateVer(3), Mat_Open(3), Mat_GetFileAccessMode(3), Mat_GetFilename(3), Mat_GetHeader(3)

Debian                                          November 20, 2023                              MAT_GETVERSION(3)

Synopsis

#include<matio.h>enummat_ftMat_GetVersion(constmat_t*matfp);

See Also