Turn of slider switch automatically
Show older comments
hi everyone, so i am building an traffic light simulink. The first image is my state-flow chart

When the pedestrian button is pressed, then the traffic light will be like this (second image).

but when the traffic light goes to green again, the pedestrian button is still on, how can i turn it off? can anyone show me how to do this? (third image)

Accepted Answer
More Answers (1)
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!