How can I control multi-switches

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?

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 4 de Oct. de 2021

0 votos

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

3 comentarios

Rawaa Almajeez
Rawaa Almajeez el 4 de Oct. de 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 el 4 de Oct. de 2021
Yes. Look at the example model in the document link.
Rawaa Almajeez
Rawaa Almajeez el 4 de Oct. de 2021
Thank you.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Preguntada:

el 4 de Oct. de 2021

Comentada:

el 4 de Oct. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by