Error while turning on and off pump with stateflow depending on physical signal
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Alicia Roder
am 15 Mär. 2017
Beantwortet: Alicia Roder
am 20 Mär. 2017
I am trying to turn on and off a pump depending on the pressure within a hydraulic system. The pressure is measured within the system, feed into a stateflow chart, evaluated and then - depending on the current pressure - a pump is turned on and off through a stateflow output.
However this Setup gives me the error "stateflow chart updates a persistent or state variable while computing outputs, therfore it cannot be used in an algebraic loop."
How can I correct this error?
Thank you!
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Stateflow 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!