Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

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:

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS