How can I use the value on a Generic Knob from the Dials & Gauges Blockset 1.1.2 (R13) as the input to my model?

1 view (last 30 days)
I have a model that uses a Generic Knob from the Dial & Gauges Blockset 1.1.2 (R13). I want the input to my model to be equal to the value of my Generic Knob. In addition, I want to place my Generic Knob in a subsystem to the model, as shown in the example in the documentation below. But when I try to change the value of my Generic Knob, the input to my model fails to change.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There is a bug in the Dials & Gauges Blockset 1.1.2 (R13) that prevents changes in the value of a Generic Knob in a subsystem from being passed to the entire model automatically.
To work around this issue, either move the Generic Knob to the top level of the model (replacing the ActiveX block) or leave the Generic Knob in the subsystem, but update the diagram (Control-D) each time you change the knob.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!