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?

 Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 4 Oct 2021

0 votes

Use Toggle Switch or other switch blocks from Simulink Dashboard to connect to your acutal Switch blocks inside your model.

3 commentaires

Rawaa Almajeez
Rawaa Almajeez le 4 Oct 2021
I was thinking to make a screen panel pop up when I run the simulink just to control these switches because I have over 20 switches. Do you mean these blocks can do this work?
Fangjun Jiang
Fangjun Jiang le 4 Oct 2021
Yes. Look at the example model in the document link.
Rawaa Almajeez
Rawaa Almajeez le 4 Oct 2021
Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by