Skip to Main Content Skip to Search
Product Documentation

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.

Input Arguments

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 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