Stateflow and Stateflow Coder Release Notes    

Major Bug Fixes

The following is a list of known bugs from Stateflow 4.0.2 (Release 12.0), which are fixed in Stateflow 4.1. For information about bugs fixed Stateflow 4.0 and Stateflow Coder 4.0, see Major Bug Fixes or the "What's New in Stateflow" on the MathWorks Web site.

Stateflow Bug Fixes

Editing Crossing Transitions out of Grouped Subcharts

Editing crossing transitions out of grouped subcharts caused model corruptions in Stateflow Versions 3.0 through 4.0.2.

Disabled and Restored Library Chart Links

Stateflow library chart links that are disabled and then restored caused model corruptions in Stateflow Versions 3.0 through 4.0.2.

Too Many Action Statements During Simulation

Stateflow Debugger caused an error during simulation when a state has more than 255 action statements in Stateflow Versions 1.0 through 4.0.2.

False State Inconsistency Run-time Error

Charts within a Simulink enabled subsystem produced a false state inconsistency run-time error when the subsystem was disabled in Stateflow Versions 2.0 through 4.0.3.

MATLAB Variables Improperly Overwritten

Selecting Save final value to base workspace in the properties dialog for a data item caused unrelated MATLAB variables in the workspace to be overwritten in Stateflow Versions 4.0 through 4.0.3.

Target Options Fields Overwritten

The Custom Initialization and Custom Termination fields in the Target Options dialog box were overwritten by empty strings in the data dictionary in Stateflow 4.0.3.

Transitions Assertions

Transitions containing a temporal trigger combined with other event triggers, such as after(3E)|E2|E3, caused assertion errors during parsing in Stateflow 4.0.3.

Build Failures with Custom Code

When including custom code, build failures occurred due to DOS shell command line length limitations because all user-defined directories on the MATLAB path were added to the include directory list in Stateflow 4.0.3.


  Stateflow Coder New Features Stateflow Coder Bug Fixes