| MATLAB® | ![]() |
#include "mat.h" int matClose(MATFile *mfp);
integer*4 matClose(mfp) mwPointer mfp
Pointer to MAT-file information
EOF in C (-1 in Fortran) for a write error, and 0 if successful.
matClose closes the MAT-file associated with mfp.
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.
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.
![]() | engSetVisible (C) | matDeleteVariable (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |