External Interfaces Reference Previous page   Next Page
matClose

Close MAT-file

Fortran Syntax

Arguments

mfp
   Pointer to MAT-file information.

Description

matClose closes the MAT-file associated with mfp. It returns -1 for a write error, and 0 if successful.

Examples

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.


Previous page  Fortran MAT-File Functions matDeleteArray (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.