MATLAB Application Program Interface Reference | Help Desk |
matClose
Closes a MAT-file
#include "mat.h" int matClose(MATFile *mfp);
mfp
Pointer to MAT-file information.
matClose
closes the MAT-file associated with mfp
. It returns EOF
for a write error, and zero if successful.
See matdemo.c
in the eng_mat
subdirectory of the examples
directory for a sample program that illustrates how to use the MATLAB MAT-file routines in a C program.