External Interfaces Reference Previous page   Next Page
matDeleteVariable

Delete named mxArray from MAT-file

C Syntax

Arguments

mfp
   Pointer to MAT-file information.

name
   Name of mxArray to delete.

Description

matDeleteVariable deletes the named mxArray from the MAT-file pointed to by mfp. matDeleteVariable returns 0 if successful, and nonzero otherwise.

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  matDeleteMatrix (Obsolete) matGetArray (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.