mxIsStruct (C)
Determine whether mxArray is structure
C Syntax
#include "matrix.h" bool mxIsStruct(const mxArray *pm);
Description
mxIsStruct returns logical 1
(true) if pm points to a structure
mxArray. Otherwise, it returns logical 0
(false). Many routines (for example,
mxGetFieldNameByNumber and mxSetField)
require a structure mxArray as an argument.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename is:
Version History
Introduced before R2006a