Stataflow error - does not have continuous states

1 visualizzazione (ultimi 30 giorni)
John Smith
John Smith il 30 Mag 2015
Commentato: Walter Roberson il 31 Mag 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 Commenti
John Smith
John Smith il 31 Mag 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 il 31 Mag 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.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by