Stateflow    

Entering Multiline Labels

In the examples shown thus far of entering labels for states and transitions, only a simple one-line expression has been used. The following figure shows state A with a multiline label.

There are two ways to enter multiline labels for both states and transitions. In the following examples, sA is a workspace variable handle to the State object in the Stateflow API for state A.


  Using the Editor Object Creating Default Transitions