Main Content

mxIsInt8 (C)

Determine whether mxArray represents data as signed 8-bit integers

C Syntax

#include "matrix.h" bool mxIsInt8(const mxArray *pm);

Description

UsemxIsInt8to determine whether the specified array represents its real and imaginary data as 8-bit signed integers.

In C, callingmxIsInt8is equivalent to calling:

mxGetClassID(pm) == mxINT8_CLASS

Version History

Introduced before R2006a