Tabelle di transizione di stato
Progettare la logica combinatoria in forma tabellare utilizzando le tabelle di transizione di stato. Le tabelle di transizione di stato forniscono un facile avvio all'apprendimento di Stateflow® e rappresentano una soluzione ideale per macchine a stati sequenziali semplici, orientate al processo. Rilevare gli errori di modellazione eseguendo controlli diagnostici, impostando punti di interruzione ed intervenire tramite azioni durante il monitoraggio dei valori dei dati.
Blocchi
| State Transition Table | Represent modal logic in tabular format |
Funzioni
convertToChart | Convertire la tabella di transizione di stato in un grafico Stateflow (Da R2023b) |
convertToSTT | Convert Stateflow chart to state transition table (Da R2023b) |
exportAsStruct | Export contents of state transition table as structure array (Da R2022b) |
Argomenti
- 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.
