Main Content
mxGetClassName (C)
Class of mxArray as string
Use mxGetClassName
for classes defined without a classdef
statement.
C Syntax
#include "matrix.h" const char *mxGetClassName(const mxArray *pm);
Description
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
.
mxGetClassID
is similar to the mxGetClassName
function.
Input Arguments
Output Arguments
Examples
See these examples in
:matlabroot
/extern/examples/mex
See these examples in
:matlabroot
/extern/examples/mx
Version History
Introduced before R2006a