Mat_GetVersion(3) Returns the version 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_MAT73 if the file is an HDF5 MAT file.
  • MAT_FT_MAT5 if the file is a level 5 MAT file.
  • MAT_FT_MAT4 if the file is a level 4 MAT file.