1MAT_GETVERSION(3)        BSD Library Functions Manual        MAT_GETVERSION(3)
2

NAME

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

SYNOPSIS

8     #include <matio.h>
9
10     enum mat_ft
11     Mat_GetVersion(mat_t *matfp);
12

DESCRIPTION

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 version 5 MAT file.
21
22     ·   MAT_FT_MAT4 if the file is a version 4 MAT file.
23

SEE ALSO

25     Mat_CreateVer(3), Mat_Open(3), Mat_GetFilename(3), Mat_GetHeader(3)
26
27BSD                             March 25, 2019                             BSD
Impressum