Stateflow chart without states
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have seen examples before of using a state chart without states to implement logical expressions. I tried doing this recently, and I got warnings that none of my assignments would be executed because the actions did not end in states. Why would that be?
0 commentaires
Réponses (2)
Fangjun Jiang
le 16 Sep 2011
You need to have a destination for the transition. Use the Junction if you don't have any State.
2 commentaires
Fangjun Jiang
le 16 Sep 2011
No. We do flow chart logic all the time using Stateflow. What version of MATLAB are you using? Did the result come out correct? Maybe it's just a friendly warning.
Wilfred
le 4 Oct 2011
AFAIK, "state charts" with just junctions and transitions , and no states, can only be defined within a graphical function. Search the user manual for "graphical function" and you'll see the examples.
1 commentaire
Voir également
Catégories
En savoir plus sur Complex Logic dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!