Class of mxArray as string
Use mxGetClassName
for classes defined without a classdef
statement.
#include "fintrf.h" character*(*) mxGetClassName(pm) mwPointer pm
mxGetClassName
returns the class of an
mxArray
. The class identifies the kind of data the
mxArray
is holding. For example, if pm
points
to a logical mxArray
, mxGetClassName
returns
logical
.
mxGetClassName
is similar to the
mxGetClassID
function.
mxGetClassName
returns the class as a string, as
described in mxIsClass
.
mxGetClassID
returns the class as an integer identifier, as
described in mxClassID
.