| External Interfaces/API Reference | ![]() |
Fortran Syntax
integer*4 function matOpen(filename, mode) integer*4 mfp character*(*) filename, mode
Arguments
filename
Name of file to open.
mode
mode are:mfp
Description
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.
Examples
See matdemo1.f and 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.
| matGetString | matPutFull | ![]() |