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

11 views (last 30 days)
How to design for decrement counter which should decrement from 500 to 0 using simulink blocks

Answers (1)

Mathieu NOE
Mathieu NOE on 19 Nov 2025 at 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)

Community Treasure Hunt

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

Start Hunting!