External Interfaces/API Reference    
mxIsStruct

True if a structure mxArray

C Syntax

Arguments

array_ptr
   Pointer to an mxArray.

Returns

true if array_ptr points to a structure array, and false otherwise.

Description

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

Examples

See phonebook.c in the refbook subdirectory of the examples directory.

See Also

mxCreateStructArray, mxCreateStructMatrix, mxGetNumberOfFields,
mxGetField, mxSetField


  mxIsString (Obsolete) mxIsUint8