Determine whether mxArray is empty
#include "matrix.h" bool mxIsEmpty(const mxArray *pm);
mxIsEmpty
returns logical 1
(true
) if the mxArray
is empty. Otherwise, it returns
logical 0
(false
). An mxArray
is
empty if the size of any of its dimensions is 0.