Stateflow and Stateflow Coder Release Notes | ![]() ![]() |
New Features
This section introduces new features and enhancements added in Stateflow 4.1 and Stateflow Coder 4.1 (Release 12.1) since the Web-downloadable release of Stateflow 4.0.2 (Release 12).
For information about the features of Stateflow 4.1 added since the release of Stateflow 4.0 (Release 12) and prior versions, see New Features or the What's New link from the Stateflow product page at www.mathworks.com
.
Smart Transitions
Stateflow charts now include the graphical innovation of smart transitions whose ends slide around the surfaces of states and junctions. When the source and/or destination objects are moved and resized in the Stateflow chart, these transitions use sliding and other behaviors to enable users to produce an aesthetically pleasing diagram. See the section Using Smart Transitions in Stateflow Help.
Note Transitions are automatically created with smart behavior on the assumption that this behavior is almost always desirable. However, self-loop transitions, must be created without smart transition behavior. See the section Creating Self-Loop Transitions in online Help for instructions. |
Search & Replace Tool Enhancements
Stateflow's Search & Replace tool has been modified with the following enhancements:
See the section Searching and Replacing in Charts in Chapter 6, "Exploring and Searching Charts" in the Stateflow documentation for a full description.
Stateflow Chart Notes
You can now enter annotations to your Stateflow charts that are similar to annotations in Simulink. See the section Entering Chart Notes in Stateflow Help.
Model Coverage Tool
The Simulink Model Coverage tool has been modified to perform model coverage calculations for decisions and conditions of decision in the Stateflow machine and its charts, states, and transitions. This includes Condition and MCDC coverage. See the section Stateflow Chart Model Coverage of the "Debugging and Testing" chapter in the Stateflow documentation.
![]() | Known Software and Documentation Problems | Stateflow Coder New Features | ![]() |