External Interfaces/API Reference    
mxIsStruct

True if a structure mxArray

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

1 if pm points to a structure array; otherwise, 0.

Description

Use mxIsStruct to determine if pm points to a structure mxArray. Many routines (for example, mxGetFieldName and mxSetField) require a structure mxArray as an argument.

See Also

mxCreateStructArray, mxCreateStructMatrix, mxGetNumberOfFields,
mxGetField, mxSetField


  mxIsString (Obsolete) mxIsUint8