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 | Darstellen modaler Logik in tabellarischer Form |
Funktionen
convertToChart | Umwandeln von Zustandsübergangstabellen in Stateflow-Diagramme (Seit R2023b) |
convertToSTT | Umwandeln eines Stateflow-Diagramms in eine Zustandsübergangstabelle (Seit R2023b) |
exportAsStruct | Export contents of state transition table as structure array (Seit R2022b) |
Themen
- 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.
