Main Content

mxIsInt32 (Fortran)

Determine whether mxArray represents data as signed 32-bit integers

Fortran Syntax

#include "fintrf.h"
integer*4 mxIsInt32(pm)
mwPointer pm

Description

mxIsInt32 returns 1 if the mxArray stores its data as 32-bit integers. Otherwise, it returns 0.

In Fortran, calling mxIsInt32 is equivalent to calling:

mxGetClassName(pm) == 'int32'

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Introduced before R2006a