mxGetClassName (C)
Class of mxArray as string
UsemxGetClassName
for classes defined without aclassdef
statement.
C Syntax
#include "matrix.h" const char *mxGetClassName(const mxArray *pm);
Description
mxGetClassName
returns the class of anmxArray
. The class identifies the kind of data themxArray
is holding. For example, ifpm
points to a logicalmxArray
,mxGetClassName
returnslogical
.
mxGetClassID
is similar to themxGetClassName
function.
Input Arguments
Output Arguments
Examples
See these examples in
:matlabroot
/extern/examples/mex
See these examples in
:matlabroot
/extern/examples/mx