| MATLAB® | ![]() |
#include "matrix.h" bool mxIsEmpty(const mxArray *pm);
integer*4 mxIsEmpty(pm) mwPointer 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.
See mxisfinite.c in the mx subdirectory of the examples directory.
![]() | mxIsDouble (C and Fortran) | mxIsFinite (C and Fortran) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |