How to connect Knob to the Gain Block, which is assigned a Simulink parameter

6 views (last 30 days)
Ananthi V
Ananthi V on 5 May 2020
Answered: Sai Sri Pathuri on 8 May 2020
I added a gain black and added a variable Kp to it. How to connect this with the Kp with the Knob

Answers (1)

Sai Sri Pathuri
Sai Sri Pathuri on 8 May 2020
Double-click the Knob block. You can see the block parameters dialog box with a message 'Select blocks in the Simulink Editor to connect tunable parameters and variables to this knob'. Select the Gain block and you can see Kp listed. If this doesn't work, you may update the diagram (Ctrl+D) and repeat above steps.


Community Treasure Hunt

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

Start Hunting!