External Interfaces/API Reference Previous page   Next Page
matClose

Closes a MAT-file

C Syntax

Arguments

mfp
   Pointer to MAT-file information.

Description

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

Examples

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.


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

Learn more about the latest releases of MathWorks products:

 © 1994-2009 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS