mxClassIDFromClassName (Fortran)
Identifier corresponding to class
Fortran Syntax
#include "fintrf.h" integer*4 mxClassIDFromClassName(classname) character*(*) classname
Arguments
classname
character
array specifying a MATLAB® class name. For a list of validclassname
choices, see themxIsClass
reference page.
Returns
Numeric identifier used internally by MATLAB software to represent the MATLAB class, classname
. Returns unknown
if
classname
is not a recognized MATLAB class.
Description
Use mxClassIDFromClassName
to obtain an identifier for any
MATLAB class. This function is most commonly used to provide a
classid
argument to mxCreateNumericArray
and
mxCreateNumericMatrix
.
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename
is:
Version History
Introduced before R2006a
See Also
mxGetClassName
| mxCreateNumericMatrix
| mxCreateNumericArray
| mxIsClass