How to use Slider Switch in the block named Model?

조회 수: 7 (최근 30일)
jingwie sun
jingwie sun 2017년 6월 28일
답변: Yu-Tung Lin 2017년 7월 12일
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!