Documentation Center

  • Trials
  • Product Updates

Contents

MAT-File API

Read and write MATLAB® data from C/C++ and Fortran programs

C and Fortran MAT-File Library Functions

matOpen (C and Fortran) Open MAT-file
matClose (C and Fortran) Close MAT-file
MATFile (C and Fortran) Type for MAT-file
matGetVariable (C and Fortran) Array from MAT-file
matGetVariableInfo (C and Fortran) Array header information only
matGetNextVariable (C and Fortran) Next array in MAT-file
matGetNextVariableInfo (C and Fortran) Array header information only
matPutVariable (C and Fortran) Array to MAT-file
matPutVariableAsGlobal (C and Fortran) Array to MAT-file as originating from global workspace
matDeleteVariable (C and Fortran) Delete array from MAT-file
matGetDir (C and Fortran) List of variables in MAT-file
matGetFp (C) File pointer to MAT-file
mxIsFromGlobalWS (C and Fortran) Determine whether array was copied from MATLAB global workspace
Was this topic helpful?