Dials & Gauges Blockset |
 |
Modifying the Model
In this example, a Generic Knob provides variable input to the Gain block, which passes its signal to a Lower Right control.
- Delete the Constant and Scope blocks. Change the Gain parameter to
4
.
- Copy the Generic Knob control block into the model. To do this, open the Knobs and Selectors Library, then drag the icon that appears to the left of the ActiveX Control block name (circled below) into the model.

- From the Angular Gauges Library, drag the Lower Right gauge block into the model. Connect both ActiveX Control blocks to the Gain block. The modified model looks like this.

- Set the simulation stop time to a reasonably large number to give you time to manipulate the Generic Knob's needle.
| Accessing the Library of Preconfigured ActiveX Control Blocks | | Running the Simulation |  |