Main Content

mxIsSingle (Fortran)

Determine whether mxArray represents data as single-precision, floating-point numbers

Fortran Syntax

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

Description

mxIsSingle returns 1 if the mxArray stores its real and imaginary data as single-precision, floating-point numbers. Otherwise, it returns 0.

In Fortran, calling mxIsSingle is equivalent to calling:

mxGetClassName(pm) .eq. 'single'

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Version History

Introduced before R2006a