Main Content

mxIsUint32 (C)

Determine whether mxArray represents data as unsigned 32-bit integers

C Syntax

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


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

In C, calling mxIsUint32 is equivalent to calling:

mxGetClassID(pm) == mxUINT32_CLASS

Input Arguments

expand all

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

Version History

Introduced before R2006a