MATLAB Application Program Interface Reference | Help Desk |
matClose
Closes a MAT-file
integer*4 function matClose(mfp) integer*4 mfp
mfp
Pointer to MAT-file information.
matClose
closes the MAT-file associated with mfp
. It returns -1 for a write error, and 0 if successful.
See matdemo1.f
and matdemo2.f
in the eng_mat
subdirectory of the examples
directory for sample programs that illustrate how to use this MAT-file routine in a Fortran program.
Note: Fortran MAT-file routines are not available on Windows.