Main Content
mxIsUint8 (C)
Determine whether mxArray represents data as unsigned 8-bit integers
C Syntax
#include "matrix.h" bool mxIsUint8(const mxArray *pm);
Description
mxIsUint8
returns logical 1
(true
) if the mxArray
stores its data as
unsigned 8-bit integers. Otherwise, it returns logical 0
(false
).
In C, calling mxIsUint8
is equivalent to calling:
mxGetClassID(pm) == mxUINT8_CLASS
Input Arguments
Version History
Introduced before R2006a