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

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

Output Arguments

clsNameA 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 the Interface pane and click the Configure C++ Class Interface button. 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, see Configure Step Method for Your Model Class.