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 件のコメント

Abhijeet
Abhijeet 2023 年 3 月 24 日
移動済み: DGM 2023 年 3 月 25 日
Hello,
How to design up/down counter using Stateflow, can someone help me out ?

サインインしてコメントする。

 採用された回答

GK
GK 2018 年 9 月 4 日
Hi, you can design it as mentioned in screenshot.
Please check simulating it.

2 件のコメント

It was helpful.
Rutuja
Rutuja 2023 年 3 月 22 日
I got error that failed to data upcounter in chart

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

2018 年 7 月 3 日

移動済み:

DGM
2023 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by