Main Content

mxIsUint16 (C)

Determine whether mxArray represents data as unsigned 16-bit integers

C Syntax

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


mxIsUint16 returns logical 1 (true) if the mxArray stores its data as 64-bit unsigned integers. Otherwise, it returns logical 0 (false).

In C, calling mxIsUint16 is equivalent to calling:

mxGetClassID(pm) == mxUINT16_CLASS

Input Arguments

expand all

Pointer to an mxArray array, specified as const mxArray*.

Version History

Introduced before R2006a