MATLAB GAUGES BLOCKSET RELEASE NOTES User's Guide Page 91

  • Download
  • Add to my manuals
  • Print
  • Page
    / 114
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 113 114

Comments to this Manuals

No comments