Effacer les filtres
Effacer les filtres

Can someone answer me: Question about switch block in Simulink

1 vue (au cours des 30 derniers jours)
Njele Eric
Njele Eric le 17 Avr 2015
Modifié(e) : Njele Eric le 21 Avr 2015
Hi everybody,
I'am working with Matlab 2013 (Simulink) and I have a switch block which seperated two Multiports switch.
  • First Multiport with Data port indices{1,2,3}, connected to first input of the switch block
  • second multiport with Data port indices {0,2,3}, connected to third input of the switch block
When the first input of the switch is activated, the output of the second Multiport switch connected to the third input of the switch block is automatically set to 0, and If for example I give value 5 to the control input of the second Multiports switch, Simulink doesn't generate an error (even if the diagnostic of the default case of the swicth block is set to :error).
I would like to know, if in some conditions when the first input of a switch port is activated, the second Multiport switch connected to the third input of the Switch block is discarded?
Thank you in advance,
Best regards,
Eric NJELE

Réponses (0)

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by