how to implement Simplest down counter
古いコメントを表示
I recently started to try my hands at matlab and simulink , was implementing a counter in simulink , and implemented a simple up counter which counts upto 50

now i want to implement the simplest down counter , but i found my logic for implementing down counter in simulink is quite big , can anyone suggest a simpler logic for down counter with the explanation .

5 件のコメント
britto joyson
2018 年 7 月 17 日
Please check, whether this satisfies your requirement.

ANKUR WADHWA
2018 年 7 月 17 日
right click on the block and select "block parameters" (or double-click on the block)
Next to the initial condition box there is a drop-down which defaults to "dialog". Change this to "input port" (note that you have the same option on the "delay length")
After you close the block parameters window, If you can't see the port labels, (as in britto's example) increase the size of the block and they will appear.
ANKUR WADHWA
2018 年 7 月 18 日
Nanupatruni Vamsi
2022 年 12 月 11 日
Design Down counter from the value of 50 to 5 after counter have to maintain the value of 5
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Additional Math and Discrete についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

