Zustandsübergangstabellen
Entwickeln Sie Ihre modale Logik in tabellarischer Form mithilfe von Zustandsübergangstabellen. Zustandsübergangstabellen bieten einen einfachen Einstieg in Stateflow® und sind eine ideale Lösung für einfache, prozessorientierte, sequentielle Zustandsmaschinen. Zur Erkennung von Modellierungsfehlern können Sie Diagnoseprüfungen durchführen, Haltepunkte setzen und Aktionen schrittweise durchführen, während Sie Datenwerte überwachen.
Blöcke
| State Transition Table | Represent modal logic in tabular format |
Funktionen
convertToChart | Umwandeln von Zustandsübergangstabellen in Stateflow-Diagramme (Seit R2023b) |
convertToSTT | Convert Stateflow chart to state transition table (Seit R2023b) |
exportAsStruct | Export contents of state transition table as structure array (Seit R2022b) |
Themen
- 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.
Fehlersuche
Debug Run-Time Errors in a State Transition Table
Use breakpoints to debug state transition tables.
