This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

mxClassIDFromClassName (Fortran)

Identifier corresponding to class

Fortran Syntax

integer*4 mxClassIDFromClassName(classname)
character*(*) classname



character array specifying a MATLAB® class name. For a list of valid classname choices, see the mxIsClass reference page.


Numeric identifier used internally by MATLAB software to represent the MATLAB class, classname. Returns unknown if classname is not a recognized MATLAB class.


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.


See the following examples in matlabroot/extern/examples/refbook.

Introduced before R2006a

Was this topic helpful?