Dials & Gauges Blockset |
 |
Creating a Subsystem Containing Gauges
To create the subsystem, follow these steps:
- Open the bounce model and save it in your working directory as
dng_bounce_subsys
.
- Copy a Subsystem block from the Simulink Signals & Systems library into the model window. Change the block's name to
gui
.
- Double-click on the subsystem to open it.
- Copy a Generic Linear Gauge block from the Linear Gauges library into the subsystem. Change the block's name to
Position
.
- Copy an Amp Meter block from the Angular Gauges library into the subsystem. Change the block's name to
Velocity
.
- In the Block Parameters dialog box for each of the two gauge blocks, set the Connections parameter to
neither
and clear the Input property edit field.
To customize the gauge blocks, see Customizing the Gauges.
| Placing ActiveX Controls in a Subsystem | | Associating Top-Level Blocks with the Subsystem |  |