User`s guide

Getting Started
14-7
Setting Options for Ada Code Generation
You must specify the correct options before you generate Ada code from this
model. These are the steps:
1 Select Parameters under the Simulation menu. This opens the Simulation
Parameters
dialog box.
2 On the Solver page, set the Solver options to Fixed-step discrete (no
continuous states)
3 Click the Browse button on the Real-Time Workshop page. This opens the
S
ystem Target File Browser.
4 Select Ada Simulation Target for GNAT and click OK. This automatically
sets the correct
System target file, Template makefile,andMake
command
fields for Ada code generation.
This picture shows the System Target File Browser with the correct selection
for Ada code generation:
Figure 14-2: The System Target File Browser