To visualize a flow of logic, you can highlight one transition cell per row in your state transition table. For example, you might want to highlight the primary flow of logic from one state to another or the flow that represents an error condition.
The highlighting persists across MATLAB sessions and appears in the autogenerated state transition diagram as well as the state transition table.
To highlight transition cells:
In the transition table editor, right-click the transition cell and select Mark as primary transition.
The transition cell appears with a red border.
Highlight additional cells, one per row, to complete the flow.
To view the flow in the autogenerated state diagram, select Table > View State Diagram.
The transitions that represent the flow appear highlighted in the diagram.