How to know which input will switch block pass programmatically?

1 view (last 30 days)
Hi,
I'm analysing simulink modell. I have a problem to know which input (1st or 3rd) will switch block pass. With the criteria and second input value can man easily manually know which input will pass. But how can I know it by code?
Thanks
Xiangming

Accepted Answer

Don Zheng
Don Zheng on 17 Jul 2017
  1 Comment
Xiangming Hao
Xiangming Hao on 18 Jul 2017
Hi Don Zheng,
thank you for your answer. I have use a similar way to solve this Problem. I think your answer will also work.

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink 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!