getDefaultConf (Function Prototype Control)

Get default configuration information for model-specific C function prototype from Simulink® model to which it is attached

Syntax

getDefaultConf(obj)

Arguments

obj

Handle to a model-specific C prototype function control object, such as a handle previously returned by obj = RTW.ModelSpecificCPrototype.

Description

When you initially invoke the getDefaultConf function, the specified model-specific C function prototype initializes 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 (Function Prototype Control), to attach the function prototype to a loaded model.

See Also

Controlling model_step Function Prototypes in the Real-Time Workshop® Embedded Coder™ documentation

  


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