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
| obj | Handle 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
 | getDefaultConf (RTW.ModelCPPClass) | | getDependencies (arxml.importer) |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit