User`s guide
Project Generator Tutorial
Project Generator Tutorial
In this section...
“Creating the M odel” on page 3-40
“Adding the Target Preferences Block to Your Model” on page 3-40
“Specify Configuration Parameters for Your M odel” on page 3-44
In this tutorial you build a model and generate a project from the model using
EmbeddedIDELinkCCsoftware.
Note The m odel demons trates project generation. Y ou cannot not build and
run the model on your processor without additional blocks.
To generate a pro ject from a model, complete the following tasks:
1 Use Simulink blocks, Si gn al Pr ocessing B lo c kset™ blocks, and blocks from
other blocksets to create the model application.
2 Add the Target Preferences block from the Embedded IDE Link CC Target
Preferences library to your model. Verify and set the block parameters for
your hardware. In most cases, the default settings work fine.
If you are usin
gasimulatorprocessor, select Simulator on the Board
info pan e of t
he Target Preferences block.
3 Set the configuration parameters for your model, including
• Solver parameters such as simulation start and solver options
• Real-Time Workshop software options such as processor configuration
and processor compiler selection
4 Generate your project.
5 Review your p
roject in CCS.
3-39