MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Podręcznik Użytkownika Strona 64

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 386
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 385 386

Komentarze do niniejszej Instrukcji

Brak uwag