Effacer les filtres
Effacer les filtres

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

85 vues (au cours des 30 derniers jours)
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
Abhijeet
Abhijeet le 24 Mar 2023
Déplacé(e) : DGM le 25 Mar 2023
Hello,
How to design up/down counter using Stateflow, can someone help me out ?

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Additional Math and Discrete dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by