Can someone answer me: Question about switch block in Simulink

1 view (last 30 days)
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

Answers (0)

Categories

Find more on Install Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!