Skip to Main Content Skip to Search
Product Documentation

Best Practices for Creating Flow Graphs

Follow these best practices to create efficient, accurate flow graphs:

 Use only one default transition

 Provide only one terminating junction

 Converge all transition paths to the terminating junction

 Provide an unconditional transition from every junction except the terminating junction

 Use condition actions to process updates, not transition actions

The following example illustrates these best practices:

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS