Documentation

getClassName

Class:RTW.ModelCPPClass
Package:RTW

Get class name from model-specific C++ class interface

Syntax

clsName= getClassName(obj)

Description

clsName= getClassName(obj)gets the name of the class described by the specified model-specific C++ class interface.

Input Arguments

obj Handle to a model-specific C++ class interface control object, such as a handle previously returned byobj=RTW.getClassInterfaceSpecification(modelName).

Output Arguments

clsName A character vector specifying the name of the class described by the specified model-specific C++ class interface.

Alternatives

To view the model class name in the Simulink®Configuration Parameters graphical user interface, go to theInterfacepane and click theConfigure C++ Class Interfacebutton. This button launches the Configure C++ class interface dialog box, which displays the model class name and allows you to display and configure the step method for your model class. For more information, seeConfigure Step Method for Your Model Class.