MATLAB Application Program Interface Reference | Help Desk |
matDeleteMatrix
Delete namedmxArray
from MAT-file
subroutine matDeleteMatrix(mfp, name) integer*4 mfp character*(*) name
mfp
Pointer to MAT-file information.
name
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.
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.
Note: Fortran MAT-file routines are not available on Windows.