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

11 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Additional Math and Discrete 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by