| Contents | Index |
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:

![]() | Drawing and Customizing Flow Graphs By Hand | Enhancing Readability of Generated Code for Flow Graphs | ![]() |

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |