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 | Représenter la logique modale au format tabulaire |
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 State Transition Tables by Using State Transition Table Blocks
Use state rows, transition columns, and the Symbols pane to define a state transition table.
- Create Parallel States in State Transition Tables
Execute states at the same time by using parallel decomposition.
- Enable Logging and Breakpoints in State Transition Tables
Debug state transition tables by logging states and data, and adding breakpoints to states and transitions.
- Inspect the Design of State Transition Tables
Verify that the logic in your state transition table behaves as intended.
