MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guía de usuario Pagina 64

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 386
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 385 386

Comentarios a estos manuales

Sin comentarios