RTW.getFunctionSpecification

Package: RTW

Get handle to model-specific C prototype function control object

Syntax

obj = RTW.getFunctionSpecification(modelName)

Description

obj = RTW.getFunctionSpecification(modelName) returns a handle to the model-specific C function prototype control object.

Input Arguments

modelNameCharacter vector specifying the name of a loaded ERT-based Simulink® model.

Output Arguments

objHandle to the model-specific C prototype function control object associated with the specified model. If the model does not have an associated function control object, the function returns [].

Alternatives

You can use the Configure C Step Function Interface dialog box to customize the base rate C step function for a rate-based model. See Override Default C Step Function Interface.

Introduced in R2008a