Main Content

Stateflow Charts

Design modal logic in graphical form

Model systems with a finite number of states. Use states to graphically denote the modes of the system. Conditional transitions provide pathways between these modes. Control the behavior of your system through actions in states and on transitions.


développer tout

ChartImplement control logic with finite state machine
State Transition TableRepresent modal logic in tabular format
Truth TableRepresent logical decision-making behavior with conditions, decisions, and actions


développer tout

sfnewCreate Simulink model that contains an empty Stateflow block
sflibOpen Stateflow block library
stateflowOpen Stateflow block library and create Simulink model that contains an empty chart
sfopenOpen Simulink model
sfcloseClose Stateflow chart
sfsaveSave Simulink model
sfprintPrint Stateflow charts
sfhelpOpen Stateflow documentation in Help browser
sfdebuggerOpen Breakpoints and Watch window
sfexplrOpen Model Explorer
sfprefSet preferences for Stateflow charts