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