| External Interfaces/API Reference | ![]() |
C Syntax
Arguments
filename
Name of file to open.
mfp
Pointer to MAT-file information.
mode
File opening mode. Legal values for mode are:
Description
This routine allows you to open MAT-files for reading and writing.
matOpen opens the named file and returns a file handle, or NULL if the open fails.
Examples
See matcreat.c and matdgns.c in the eng_mat subdirectory of the examples directory for sample programs that illustrate how to use the MATLAB MAT-file routines in a C program.
| matGetVariableInfo | matPutArray (Obsolete) | ![]() |