Determine whether array represents data as signed 8-bit integers
#include "matrix.h" bool mxIsInt8(const mxArray *pm);
integer*4 mxIsInt8(pm) mwPointer pm
Pointer to an
true) if the
array stores its data as signed 8-bit integers, and logical
mxIsInt8 to determine whether the specified
array represents its real and imaginary data as 8-bit signed integers.
In C, calling
mxIsInt8 is equivalent to
mxGetClassID(pm) == mxINT8_CLASS
In Fortran, calling
mxIsInt8 is equivalent
mxGetClassName(pm) .eq. 'int8'