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 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.
Risoluzione dei problemi
Debug Run-Time Errors in a State Transition Table
Use breakpoints to debug state transition tables.
