External Interfaces Reference Previous page   Next Page
mxClassIDFromClassName

Get identifier that corresponds to 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
logical
object
single
struct
uint8
uint16
uint32


See Also

mxGetClassName, mxCreateNumericArray, mxCreateNumericMatrix


Previous page  mxCalloc mxClearLogical (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.