Main Content
mxGetClassName (Fortran)
Class of mxArray as string
Use mxGetClassName
for classes defined without a classdef
statement.
Fortran Syntax
#include "fintrf.h" character*(*) mxGetClassName(pm) mwPointer 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
.
mxGetClassName
is similar to the
mxGetClassID
function.
mxGetClassName
returns the class as a string, as described inmxIsClass
.mxGetClassID
returns the class as an integer identifier, as described inmxClassID
.
Input Arguments
Output Arguments
Version History
Introduced before R2006a