Clear Filters
Clear Filters

How to use Slider Switch in the block named Model?

1 view (last 30 days)
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.

Accepted Answer

Yu-Tung Lin
Yu-Tung Lin on 12 Jul 2017
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 .

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!