MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
matDeleteMatrix    Examples

Delete named mxArray from MAT-file

Fortran Syntax

Arguments

mfp
  Pointer to MAT-file information.

name
  Name of mxArray to delete.

Description

matDeleteMatrix deletes the named mxArray from the MAT-file pointed to by mfp. The file is rewritten to accomplish this task. matDeleteMatrix returns 0 if successful, and nonzero if an error occurs.

Example

See matdemo1.f in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use this MAT-file routine in a Fortran program.



[ Previous | Help Desk | Next ]