Determine whether input is mxChar array
#include "matrix.h" bool mxIsChar(const mxArray *pm);
mxIsChar returns logical 1
(true) if pm points to an mxChar
array. Otherwise, it returns logical 0 (false).
In C, calling mxIsChar is equivalent to calling:
mxGetClassID(pm) == mxCHAR_CLASS
See these examples in
:matlabroot/extern/examples/refbook
See these examples in
:matlabroot/extern/examples/mx