How to use Slider Switch in the block named Model?

7 次查看(过去 30 天)
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.

采纳的回答

Yu-Tung Lin
Yu-Tung Lin 2017-7-12
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 个)

类别

Help CenterFile Exchange 中查找有关 编程式模型编辑 的更多信息

Community Treasure Hunt

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

Start Hunting!