| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Real-Time Workshop Embedded Coder |
| Contents | Index |
| Learn more about Real-Time Workshop Embedded Coder |
The first step to configuring a model for Real-Time Workshop code generation is to choose and configure a code generation target. When you select a target, other model configuration parameters change automatically to best serve requirements of the target. For example:
Code interface parameters
Build process parameters, such as the template make file
Target hardware parameters, such as word size and byte ordering
Use the Browse button on the Real-Time Workshop pane to open the System Target File Browser (See Selecting a System Target File). The browser lets you select a preset target configuration consisting of a system target file, template makefile, and make command.
If you select a target configuration by using the System Target File Browser, your selection appears in the System target file field (target.tlc).
If you are using a target configuration that does not appear in the System Target File Browser, enter the name of your system target file in the System target file field. Click Apply or OK to configure for that target.
Choosing and Configuring an Embedded Real-Time Target describes the use of the browser and includes a complete list of available target configurations.
You can specify this configuration information for a specific type of target in one step by invoking the System Target File Browser, as explained in Selecting a System Target File. The browser lists a variety of ready-to-run configurations.
After selecting a system target, you can modify model configuration parameter settings, if necessary
If you want to switch between different targets in a single workflow for different code generation purposes (for example, rapid prototyping versus product code deployment), set up different configuration sets for the same model and switch the active configuration set for the current operation. For more information on how to set up configuration sets and change the active configuration set, see Setting Up Configuration Sets in the Simulinkdocumentation.
![]() | Choosing and Configuring an Embedded Real-Time Target | Selecting an ERT Target | ![]() |

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 |