Array header information only
#include "mat.h" mxArray *matGetNextVariableInfo(MATFile *mfp, const char **name);
mwPointer matGetNextVariableInfo(mfp, name) mwPointer mfp character*(*) name
Pointer to MAT-file information
Pointer to the variable containing the
Pointer to a newly allocated
representing header information for the next
the MAT-file pointed to by
mfp. The function returns
the name of the
0 in Fortran) when the end of file is reached
or if there is an error condition. In C, use
the Standard C Library to determine status.
matGetNextVariableInfo loads only the array
header information, including everything except
jc, from the current file offset.
jc are nonzero values when loaded with
-1 instead. These headers are for informational use only. Never pass
this data back to the MATLAB® workspace or save it to MAT-files.
mxDestroyArray to destroy the
by this routine when you are finished with it.
The order of variables returned from successive calls to
not guaranteed to be the same order in which the variables were written.