| MATLAB Application Program Interface Reference | Help Desk |
mxIsInt32
True ifmxArray represents its data as signed 32-bit integers
#include "matrix.h" bool mxIsInt32(const mxArray *array_ptr);array_ptr
true if the array stores its data as signed 32-bit integers; otherwise, returns false.
Use mxIsInt32 to determine whether or not the specified array represents its real and imaginary data as 32-bit signed integers.
Calling mxIsInt32 is equivalent to calling
mxGetClassID(array_ptr) == mxINT32_CLASS
mxIsClass, mxGetClassID