Main Content

mxIsCell (Fortran)

Determine whether mxArray is cell array

Fortran Syntax

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


mxIsCell returns 1 if the specified array is a cell array. Otherwise, it returns 0.

In Fortran, calling mxIsCell is equivalent to calling:

mxGetClassName(pm) .eq. 'cell'


mxIsCell does not answer the question “Is this mxArray a cell of a cell array?” An individual cell of a cell array can be of any type.

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Version History

Introduced before R2006a