| Contents | Index |
#include "matrix.h" bool mxIsStruct(const mxArray *pm);
integer*4 mxIsStruct(pm) mwPointer pm
Logical 1 (true) if pm points to a structure mxArray, and logical 0 (false) otherwise.
Use mxIsStruct to determine whether pm points to a structure mxArray. Many routines (for example, mxGetFieldNameByNumber and mxSetField) require a structure mxArray as an argument.
See the following examples in matlabroot/extern/examples/refbook.
mxCreateStructArray, mxCreateStructMatrix, mxGetFieldNameByNumber, mxGetField, mxSetField

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |