Tables de transition d'état
Concevez votre logique combinatoire sous forme tabulaire avec des tables de transition d’état. Les tables de transition d’état facilitent l’apprentissage de Stateflow®. Elles constituent une solution idéale pour les machines à états séquentielles simples et orientées processus. Repérez les erreurs de modélisation en exécutant des vérifications diagnostiques, en définissant des points d’arrêt et en exécutant les actions pas à pas tout en surveillant les valeurs des données.
Blocs
| State Transition Table | Represent modal logic in tabular format |
Fonctions
convertToChart | Convertissez une table de transition d’état en diagramme Stateflow (depuis R2023b) |
convertToSTT | Convert Stateflow chart to state transition table (depuis R2023b) |
exportAsStruct | Export contents of state transition table as structure array (depuis R2022b) |
Rubriques
- Model Finite State Machines Using State Transition Tables
Model a finite state machine for sequential modal logic in a concise, compact format.
- Inspect the Design of State Transition Tables
Verify that the logic in your state transition table behaves as intended.
- Model Bang-Bang Controller by Using a State Transition Table
Use a state transition table to model a temperature regulator.
Résolution des problèmes
Debug Run-Time Errors in a State Transition Table
Use breakpoints to debug state transition tables.
