Mat_GetVersion(3)

Mat_GetVersion3

Returns the version of a matlab mat file given a mat file structure.

Usage

#include <matio.h>

enum mat_ft

Mat_GetVersion(const mat_t *matfp);

Overview

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:

  • 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.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13
  6. Arch

From libmatio 1.5.30-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.