MATLAB Application Program Interface Reference Help Desk

matDeleteArray

Purpose

Delete named mxArray from MAT-file

C Syntax

Arguments

mfp

Pointer to MAT-file information.

name

Name of mxArray to delete.

Description

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

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 ]