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