Filter löschen
Filter löschen

Create an index with stateflow that only increments one at the time

1 Ansicht (letzte 30 Tage)
Pedro Marques
Pedro Marques am 8 Mär. 2021
Kommentiert: Pedro Marques am 9 Mär. 2021
Hi there,
Im trying to build a index with stateflow, but I want to increment only once when the input signal is high and again when it goes from low to high.
I have done this with blocks but now I want to use a stateflow chart.
Any suggestion?
  4 Kommentare
Walter Roberson
Walter Roberson am 9 Mär. 2021
Unfortunately I do not have enough experience to interpret that chart, but it does not look right to me.
Pedro Marques
Pedro Marques am 9 Mär. 2021
I just divid the actions into two but it works the way I wanted.
Thank you for your help!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Functions 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