Main Content

mxIsInt32 (C)

Determine whether mxArray represents data as signed 32-bit integers

C Syntax

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

Description

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

In C, calling mxIsInt32 is equivalent to calling:

mxGetClassID(pm) == mxINT32_CLASS

Input Arguments

expand all

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

Version History

Introduced before R2006a