External Interfaces Reference Previous page   Next Page
mxIsStruct

Determine if input is structure mxArray

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

Logical 1 (true) if pm points to a structure array; and logical 0 (false) otherwise.

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


Previous page  mxIsString (Obsolete) mxIsUint8 Next page

© 1994-2005 The MathWorks, Inc.