MATLAB Answers

0

How to use Slider Switch in the block named Model?

Asked by jingwie sun on 28 Jun 2017
Latest activity Answered by Yu-Tung Lin on 12 Jul 2017
I want to link a Constant block using Slider Switch in the block named Model, because that can open the other simulink windows to change variables easily.

  0 Comments

Sign in to comment.

1 Answer

Answer by Yu-Tung Lin on 12 Jul 2017
 Accepted Answer

To connect a constant block to the sliderswitch, you can double click on the sliderswitch. A window should pop up. In the middle of this window, you can "select blocks in the Simulink editor to connect tunable parameters and variables to this switch." Click on your constant block and enable the radio button. Then select "Apply". Now, the variable in your constant block is linked to the sliderswitch.
Please see reference: Slider Switch .

  0 Comments

Sign in to comment.