How do I make a condition be one or the other on Stateflow?

5 次查看(过去 30 天)
Hey all, I'm designing a traffic light system in Simulink using stateflow and need to know how to change a condition so it can be met with one of 2 conditions.
How do I put "button equals to 1 or 0" for the condition cirlced in red? As I need the traffic light system to run even if button doesn't equal to one but to jump to that line when button does equal to 1.

回答(0 个)


Help CenterFile Exchange 中查找有关 Stateflow 的更多信息




Community Treasure Hunt

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

Start Hunting!

Translated by