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