| MATLAB Application Program Interface | Search  Help Desk |
| mxIsInt16 | See Also |
True if mxArray represents its data as signed 16-bit integers
C Syntax
#include "matrix.h" bool mxIsInt16(const mxArray *array_ptr);
Arguments
array_ptrmxArray.
Returns
true if the array stores its data as signed 16-bit integers; otherwise, returns false.
Description
UsemxIsInt16 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
See Also
mxIsClass, mxGetClassID