This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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 the following examples in matlabroot/extern/examples/eng_mat.

Was this topic helpful?