Effacer les filtres
Effacer les filtres

Stataflow error - does not have continuous states

3 vues (au cours des 30 derniers jours)
John Smith
John Smith le 30 Mai 2015
Commenté : Walter Roberson le 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 commentaires
John Smith
John Smith le 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 le 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.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by