switch

1 visualización (últimos 30 días)
bavi heo
bavi heo el 26 de Mayo de 2011
Comentada: luciana lima el 7 de Ag. de 2015
Hi everbody, I used a switch in simulink to switch among 3 signals. But after got 3th signal it did not return to 1st signal to repeat this process. So if I want the switch do that, how must I do? Thanks lot.

Respuestas (1)

Arnaud Miege
Arnaud Miege el 26 de Mayo de 2011
I assume you are referring to the Multiport Switch. You need to drive the control input with a signal that varies between 1 and 3. If it is 1, it will pass through the first input, if it is 2, the second input, etc... Depending on what it is you're trying to do, you can probably use a Repeating Sequence or a Repeating Sequence Stair block for that purpose.
HTH,
Arnaud
  1 comentario
luciana lima
luciana lima el 7 de Ag. de 2015
Hi Arnaud, How can I do this (change the signal)with use the repeating sequence stair?

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by