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

Use 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 calling:

mxGetClassID(pm) == mxINT8_CLASS

Version History

Introduced before R2006a