Main Content

mxIsInt8 (Fortran)

Determine whether mxArray represents data as signed 8-bit integers

Fortran Syntax

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

Description

mxIsInt8 returns 1 if the mxArray stores its data as 8-bit signed integers. Otherwise, it returns 0.

In Fortran, calling mxIsInt8 is equivalent to calling:

mxGetClassName(pm) .eq. 'int8'

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Introduced before R2006a