Stataflow error - does not have continuous states

3 Ansichten (letzte 30 Tage)
John Smith
John Smith am 30 Mai 2015
Kommentiert: Walter Roberson am 31 Mai 2015
I am doing a stateflow using MATLAB simulink and the attached errors are showing. Can someone please help me solve this? Attached please also find the stateflow that I am using. Thnaks in advance.
  9 Kommentare
John Smith
John Smith am 31 Mai 2015
Hi again, I realized that the pulse generator was causing the problem. When I replaced the generator with a manual switch, everything worked well. What am I doing wrong please? I connected the generator to a mux since it is a shared event. I set the period to 2sec with 50% cycle. What is causing this please?
Walter Roberson
Walter Roberson am 31 Mai 2015
The bit about Continuous States was never a problem. It was a note telling you that you were working with a discrete time system instead of a continuous time system. ode solvers are only useful for continuous time systems. I imagine that continuous time could have been forced by selecting a different kind of signal, but I am not familiar with how those operate.
The only bit I was concerned about was the part about some of the states being only conditionally reachable, leading to potential instability. And that appears to have been solved.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Decision Logic 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