Skip to Main Content Skip to Search
Product Documentation

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

modelNameString 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 any associated function control object, the function returns [].

Alternatives

The Configure Model Functions button on the Interface pane of the Simulink Configuration Parameters dialog box launches the Model Interface dialog box, which provides you flexible control over the C function prototypes that are generated for your model. Once you validate and apply your changes, you can generate code based on your C function prototype modifications. See Configure Function Prototypes in the Embedded Coder documentation.

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS