matClose (C and Fortran)
Close MAT-file
C Syntax
#include "mat.h" int matClose(MATFile *mfp);
Fortran Syntax
#include "mat.h" integer*4 matClose(mfp) mwPointer mfp
Arguments
mfpPointer to MAT-file information
Returns
EOF in C (-1 in Fortran) for a write error, and
0 if successful.
Description
matClose closes the MAT-file associated with
mfp.
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","eng_mat","filename")]);
where filename is:
Version History
Introduced before R2006a