Stateflow    

Working with Charts


This chapter takes you through the steps of creating graphical Stateflow objects in the Stateflow diagram editor. It includes the following sections:
Creating a Stateflow Chart
Gives a step-by-step procedure for creating an empty Stateflow chart.
Using the Stateflow Editor
Describes each part of the Stateflow diagram editor window that displays the chart you create.
Using States in Stateflow Charts
Describes how to create and specify a state in your new chart. Stateflow diagrams react to events by changing states, which are modes of a chart.
Using Transitions in Stateflow Charts
Describes how to create, move, change, and specify properties for Stateflow transitions. Charts change active states using pathways called transitions.
Using Boxes in Stateflow Charts
Describes Stateflow boxes and how to create them in your new chart. Boxes are a convenience for grouping items in your charts.
Using Graphical Functions in Stateflow Charts
Describes how Stateflow graphical functions are created, called, and made available to Simulink. Graphical functions are a convenience, as functions are to programs.
Using Junctions in Stateflow Charts
Describes how to create, move, and specify properties for Stateflow junctions. Junctions provide decision points between alternate transition paths. History junctions record the activity of states inside states.
Using Notes in Stateflow Charts
Shows you how to create, edit, and delete descriptive notes for your Stateflow chart.
Using Subcharts in Stateflow Charts
Shows you how to create and work with charts within charts, that is, subcharts. Subcharts are a convenience for compacting your diagrams.
Using Supertransitions in Stateflow Charts
Shows you how to make a supertransition to connect transitions from outside a subchart to a state or junction inside a subchart.
Specifying Chart Properties
Tells you how to specify properties for your chart. Part of a chart's interface to its Simulink model is set when you specify the properties for a chart.
Checking the Chart for Errors
Shows you how Stateflow parses the diagram to check for errors in diagrams that you create.
Creating Chart Libraries
Shows you how to save Stateflow charts that you can place in the Simulink block library for repeated use in a Simulink model.
Printing and Reporting on Charts
Shows you the options Stateflow offers for printing part or all of your Stateflow chart.


  Directed Event Broadcasting Using Qualified Event Names Example Creating a Stateflow Chart