getStepMethodName

Class: RTW.ModelCPPClass
Package: RTW

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

Syntax

fcnName = getStepMethodName(obj)

Description

fcnName = getStepMethodName(obj) gets the name of the step method 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

fcnNameA character vector specifying the name of the step method described by the specified model-specific C++ class interface.

Alternatives

To view the step method 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 step method 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.