Main Content

mxIsChar (Fortran)

Determine whether input is mxChar array

Fortran Syntax

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

Description

Use mxIsChar returns 1 if pm points to an mxChar array. Otherwise, it returns 0.

In Fortran, calling mxIsChar is equivalent to calling:

mxGetClassName(pm) .eq. 'char'

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Examples

See these examples in matlabroot/extern/examples/eng_mat:

Version History

Introduced before R2006a