manpagez: man pages & more
man Mat_GetVersion(3)
Home | html | info | man
Mat_GetVersion(3)          Library Functions Manual          Mat_GetVersion(3)


NAME

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


SYNOPSIS

     #include <matio.h>

     enum mat_ft
     Mat_GetVersion(const mat_t *matfp);


DESCRIPTION

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


RETURN VALUES

     The return value is one of the following:

     o   MAT_FT_MAT4 if the file is a version 4 MAT file.

     o   MAT_FT_MAT5 if the file is a version 5 MAT file.

     o   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)

macOS 13.6                     November 20, 2023                    macOS 13.6

matio 1.5.27 - Generated Sun Apr 21 06:36:25 CDT 2024
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.