This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

MATFile (C and Fortran)

Type for MAT-file


A handle to a MAT-file object. A MAT-file is the data file format MATLAB® software uses for saving data to your disk.

MATFile is a C language opaque type.

The MAT-file interface library contains routines for reading and writing MAT-files. Call these routines from your own C/C++ and Fortran programs, using MATFile to access your data file.

The header file containing this type is:

#include "mat.h"


See these examples in matlabroot/extern/examples/eng_mat: