How to use Slider Switch in the block named Model?

7 visualizaciones (últimos 30 días)
jingwie sun
jingwie sun el 28 de Jun. de 2017
Respondida: Yu-Tung Lin el 12 de Jul. de 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.

Respuesta aceptada

Yu-Tung Lin
Yu-Tung Lin el 12 de Jul. de 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 .

Más respuestas (0)

Categorías

Más información sobre 编程式模型编辑 en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!