External Interfaces/API Reference    
mxClassIDFromClassName

Get identifier that corresponds to a class

Fortran Syntax

Arguments

classname
   A character array specifying a MATLAB class name. Use one of the strings from the table below.

Returns

A numeric identifier used internally by MATLAB to represent the MATLAB class, classname. Returns 0 if classname is not a recognized MATLAB class.

Description

Use mxClassIDFromClassName to obtain an identifier for any class that is recognized by MATLAB. This function is most commonly used to provide a classid argument to mxCreateNumericArray and mxCreateNumericMatrix.

Valid choices for classname are shown below. MATLAB returns 0 if classname is unrecognized.

cell
char
double
function_handle
int8
int16
int32
int64
object
single
sparse
struct
uint8
uint16
uint32
uint64

See Also

mxGetClassName, mxCreateNumericArray, mxCreateNumericMatrix


  mxCalloc mxClearLogical (Obsolete)