Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Highlight Flow of Logic

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:

  1. In the transition table editor, right-click the transition cell and select Mark as primary transition.

    The transition cell appears with a red border.

  2. Highlight additional cells, one per row, to complete the flow.

    For example:

  3. To view the flow in the autogenerated state diagram, select Chart > View auto-generated diagram.

    The transitions that represent the flow appear highlighted in the diagram.

Was this topic helpful?