MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guida Utente Pagina 64

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 386
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 63
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
Vedere la pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 385 386

Commenti su questo manuale

Nessun commento