Determine whether array represents data as unsigned 8-bit integers
#include "matrix.h" bool mxIsUint8(const mxArray *pm);
#include "fintrf.h" integer*4 mxIsUint8(pm) mwPointer pm
pm
Pointer to an mxArray
Logical 1
(true
) if the
mxArray
stores its data as unsigned 8-bit integers, and logical
0
(false
) otherwise.
Use mxIsUint8
to determine whether the specified
mxArray
represents its real and imaginary data as 8-bit unsigned
integers.
In C, calling mxIsUint8
is equivalent to calling:
mxGetClassID(pm) == mxUINT8_CLASS
In Fortran, calling mxIsUint8
is equivalent to calling:
mxGetClassName(pm) .eq. 'uint8'
mxIsClass
,
mxGetClassID
,
mxIsInt8
,
mxIsInt16
,
mxIsInt32
,
mxIsInt64
,
mxIsUint16
,
mxIsUint32
,
mxIsUint64