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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Gefragt:

am 3 Jul. 2018

Verschoben:

DGM
am 25 Mär. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by