Main Content

mxIsUint16 (Fortran)

Determine whether mxArray represents data as unsigned 16-bit integers

Fortran Syntax

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

Returns

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

Description

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

In Fortran, calling mxIsUint16 is equivalent to calling:

mxGetClassName(pm) .eq. 'uint16'

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Version History

Introduced before R2006a