True if a structure mxArray
C Syntax
#include "matrix.h"
bool mxIsStruct(const mxArray *array_ptr);
Arguments
array_ptr
Pointer to an mxArray.
Returns
true if array_ptr points to a structure array; otherwise, returns false.
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.
See Also
mxCreateStructArray, mxCreateStructMatrix, mxGetNumberOfFields,
mxGetField, mxSetField
[ Previous | Help Desk | Next ]