How can I control multi-switches

3 views (last 30 days)
I have multi swiches in my simulation. I want to know is there any easy way to control it by maybe creating panel represent each swich to turn in and off instead I go inside the simulation and change the situation of the switch everytime?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 4 Oct 2021
Use Toggle Switch or other switch blocks from Simulink Dashboard to connect to your acutal Switch blocks inside your model.
  3 Comments
Fangjun Jiang
Fangjun Jiang on 4 Oct 2021
Yes. Look at the example model in the document link.

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!