This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

mxIsUint32 (C and Fortran)

Determine whether array represents data as unsigned 32-bit integers

C Syntax

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

Fortran Syntax

integer*4 mxIsUint32(pm)
mwPointer pm



Pointer to an mxArray


Logical 1 (true) if the mxArray stores its data as unsigned 32-bit integers, and logical 0 (false) otherwise.


Use mxIsUint32 to determine whether the specified mxArray represents its real and imaginary data as 32-bit unsigned integers.

In C, calling mxIsUint32 is equivalent to calling:

mxGetClassID(pm) == mxUINT32_CLASS

In Fortran, calling mxIsUint32 is equivalent to calling:

mxGetClassName(pm) .eq. 'uint32'

Introduced before R2006a

Was this topic helpful?