User`s guide
2 Getting Started with the Real-Time Workshop
2-14
Setting Program Parameters
After displaying the f14 model, select Parameters from the Simulation
pull-down menu. This displays the Simulation Parameters dialog box with
theSolverpageselectedbydefault:
The
Simulation Parameters dialog box allows you to set options, select a
template makefile, generate code, and build the program.
When initially displayed, the
Simulation Parameters dialog box contains
default values that do not necessarily match the simulation parameters
required to create a generic real-time executable. You should, therefore, change
the default parameters to match the simulation parameters that are needed to
use your model with the Real-Time Workshop. To configure the options for the
f14 model, change the following parameters:
1 Under the Solver page, set the Solver options Type to Fixed-step and
select the
ode5 (Dormand-Prince) solver.
2 Set the Fixed Step Size to 0.05