mxIsStruct (C)
Determine whether mxArray is structure
C Syntax
#include "matrix.h" bool mxIsStruct(const mxArray *pm);
Description
mxIsStruct
returns logical1
(true
) ifpm
points to a structuremxArray
. Otherwise, it returns logical0
(false
). Many routines (for example,mxGetFieldNameByNumber
andmxSetField
) require a structuremxArray
as an argument.