MATLAB GAUGES BLOCKSET RELEASE NOTES Guida Utente Pagina 91

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 114
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 90
Placing ActiveX Controls in a Subsystem
4-8
Placing ActiveX Controls in a Subsystem
This sample model builds on the one described in “Placing ActiveX Controls in
a Different Model” on page 4-3, but places the Dials & Gauges Blockset blocks
in a subsystem of the main model rather than a different model. This approach
simplifies operations such as saving and closing the system because the system
involves only a single
.mdl file.
To open a completed version of this example, type
dng_bounce_subsys in the
MATLAB Command Window. Notice that the model includes a subsystem
called
gui in the lower right corner.
These sections describe the steps for using gauges contained in a subsystem:
“Creating a Subsystem Containing Gauges”
“Associating Top-Level Blocks with the Subsystem” on page 4-9
Creating a Subsystem Containing Gauges
To create the subsystem, follow these steps:
1 Copy a Subsystem block from the Simulink Signals & Systems library into
the bouncing ball model. Change the block’s name to
gui.
Vedere la pagina 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 113 114

Commenti su questo manuale

Nessun commento