MATLAB Application Program Interface Reference Help Desk

matClose

Purpose

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.

Example

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.



[ Previous | Help Desk | Next ]