Determine whether array is empty
#include "matrix.h" bool mxIsEmpty(const mxArray *pm);
#include "fintrf.h" integer*4 mxIsEmpty(pm) mwPointer pm
pm
Pointer to an mxArray
Logical 1
(true
) if the
mxArray
is empty, and logical 0
(false
) otherwise.
Use mxIsEmpty
to determine whether an mxArray
contains no data. An mxArray
is empty if the size of any of its
dimensions is 0.