| Real-Time Workshop® Embedded Coder™ | ![]() |
Automatically update active configuration parameters of parent model for ERT fixed-point code generation
Configuration Wizards
When you add an ERT (optimized for fixed-point) block to your Simulink® model and double-click it, a predefined M-file script executes and automatically configures the model parameters optimally for fixed-point code generation with the ERT target. You can also set a block option to invoke the build process after configuring the model.
After double-clicking the block, you can verify that the model parameter values have changed by opening the Configuration Parameters dialog box and examining the settings.
Note You can include more than one Configuration Wizard block in your model. This provides a quick way to switch between configurations. |
Value selected from
ERT (optimized for fixed-point)
ERT (optimized for floating-point)
GRT (optimized for fixed/floating-point)
GRT (debug for fixed/floating-point)
Custom
For this block, ERT (optimized for fixed-point) is selected by default.
Grayed out unless Configure the model for is set to Custom. This parameter is used with the Custom M-file block.
If selected, the script initiates the code generation and build process after updating the model's configuration parameters. If not selected (the default), the build process is not initiated.
Custom M-file, ERT (optimized for floating-point), GRT (debug for fixed/floating-point), GRT (optimized for fixed/floating-point)
Optimizing Your Model with Configuration Wizard Blocks and Scripts in the Real-Time Workshop® Embedded Coder™ documentation
![]() | Data Object Wizard | ERT (optimized for floating-point) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |