How to design up counter using Stateflow and hold it for some interval and decrement it to zero?

94 views (last 30 days)
I want to design a counter which will increment up to 10 and hold it for 3sec and decrements it to zero using stateflow.

Accepted Answer

GK
GK on 4 Sep 2018
Hi, you can design it as mentioned in screenshot.
Please check simulating it.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!