Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop Embedded Coder   

getDefaultConf - Class: RTW.ModelSpecificCPrototype
Package: RTW

Get default configuration information for model-specific C function prototype from Simulink model

Syntax

getDefaultConf(obj)

Description

getDefaultConf(obj) invokes the specified model-specific C function prototype to initialize the properties and the step function name of the function argument to a default configuration based on information from the ERT-based Simulink model to which it is attached. If you invoke the command again, only the properties of the function argument are reset to default values.

Before calling this function, you must call attachToModel, to attach the function prototype to a loaded model.

Inputs

objHandle to a model-specific C prototype function control object previously returned by obj = RTW.ModelSpecificCPrototype.

Alternatives

Click the Get Default Configuration button in the Model Interface dialog box to get the default configuration. See Model Specific C Prototypes View in the Real-Time Workshop Embedded Coder documentation.

See Also

Controlling Generation of Function Prototypes — Explains how to configure model function prototypes in generated code

  


Related Products & Applications

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

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