How to design for decrement counter which should decrement from 500 to 0 using simulink blocks

12 ビュー (過去 30 日間)
Neelambika
Neelambika 2025 年 11 月 19 日 8:34
回答済み: Mathieu NOE 2025 年 11 月 19 日 15:56
How to design for decrement counter which should decrement from 500 to 0 using simulink blocks

回答 (1 件)

Mathieu NOE
Mathieu NOE 2025 年 11 月 19 日 15:56
hello
simply make the difference between a constant (= 500) and a standard (rising) counter (0 to 500)
the two blocks are to be found in the "sources" library.
here my results (with a discrete, fixed step solver with ts = 1e-3)

カテゴリ

Help Center および File ExchangeAdditional Math and Discrete についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by