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