Dials & Gauges Blockset | ![]() ![]() |
Placing ActiveX Controls in a Subsystem
This sample model builds on the one described in Placing ActiveX Controls in a Different Model, 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.
These sections describe the steps for using gauges contained in a subsystem:
![]() | Associating the Main Model with the Gauges | Creating a Subsystem Containing Gauges | ![]() |