Up/DN Counter in Simulink

2 Ansichten (letzte 30 Tage)
Sarfaraz Ahmed
Sarfaraz Ahmed am 23 Okt. 2018
I am using Simulink, In which I need to count Up and Down depending upon the input values. It should up when the input is high and count down when input is low. Also that operation should be dependent on some Enable event.
Can anyone help me out that is their any way to internally switch the counter from counting Up to Down or from Down to Up ?
Thanks in advance

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by