mxIsChar (C)
Determine whether input is mxChar
array
C Syntax
#include "matrix.h" bool mxIsChar(const mxArray *pm);
Description
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
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename
is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename
is:
Version History
Introduced before R2006a