Main Content

mxIsStruct (Fortran)

Determine whether mxArray is structure

Fortran Syntax

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


mxIsStruct returns 1 if pm points to a structure mxArray. Otherwise, it returns 0. Many routines (for example, mxGetFieldNameByNumber and mxSetField) require a structure mxArray as an argument.

Input Arguments

expand all

Pointer to an mxArray array, specified as mwPointer.

Version History

Introduced before R2006a