External Interfaces/API Reference | ![]() ![]() |
Delete named mxArray
from MAT-file
C Syntax
#include "mat.h" int matDeleteArray(MATFile *mfp, const char *name);
Arguments
mfp
Pointer to MAT-file information.
name
mxArray
to delete.
Description
matDeleteArray
deletes the named mxArray
from the MAT-file pointed to by mfp
. matDeleteArray
returns 0 if successful, and nonzero otherwise.
Example
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.
![]() | matClose | matDeleteMatrix (Obsolete) | ![]() |