|External Interfaces/API Reference|
Opens a MAT-file
Name of file to open.
File opening mode. Legal values for
||Opens file for reading only. Determines the current version of the MAT-file by inspecting the files and preserves the current version.
||Opens file for update, both reading and writing, but does not create the file if the file does not exist (equivalent to the
||Opens file for writing only. Deletes previous contents, if any.
||Creates a MATLAB 4 MAT-file.
Pointer to MAT-file information.
This routine allows you to open MAT-files for reading and writing.
matOpen opens the named file and returns a file handle, or 0 if the open fails.
matdemo2.f in the
eng_mat subdirectory of the
examples directory for sample programs that illustrate how to use the MATLAB MAT-file routines in a Fortran program.