This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mxClassIDFromClassName (Fortran)

Identifier corresponding to class

Fortran Syntax

#include "fintrf.h"
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?