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

I want to design a counter which will increment up to 10 and hold it for 3sec and decrements it to zero using stateflow.

1 commentaire

Hello,
How to design up/down counter using Stateflow, can someone help me out ?

Connectez-vous pour commenter.

 Réponse acceptée

Hi, you can design it as mentioned in screenshot.
Please check simulating it.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by