Determine whether mxArray represents data as unsigned 32-bit integers
#include "matrix.h" bool mxIsUint32(const mxArray *pm);
mxIsUint32
returns logical 1
(true
) if the mxArray
stores its data as 32-bit
unsigned integers. Otherwise, it returns logical 0
(false
).
In C, calling mxIsUint32
is equivalent to calling:
mxGetClassID(pm) == mxUINT32_CLASS