| Stateflow® and Stateflow® Coder Release Notes | ![]() |
Major Bug Fixes
Stateflow 6.0 and Stateflow Coder 6.0 include several bug fixes made since Version 5.1.1. This section describes the particularly important Version 6.0 bug fixes.
If you are viewing these Release Notes in PDF form, please refer to the HTML form of the Release Notes, using either the Help browser or the MathWorks Web site and use the link provided.
Additional Bug Fixes
The following fixed bugs are not in the list of problems accessed by the preceding link.
Multi-Instanced Stateflow Library Charts Generated Incorrect Code
If a Stateflow library chart was instanced more than once in a model, and if this chart had multiple function-call output events, sometimes the generated code did not compile.
Reenabling a Link to a Subsystem Copied From a Library Corrupted a Model
Re-enabling a disabled link to a subsystem copied from a library corrupted the model containing the linked subsystem. This always occurred if the library contained one or more link Stateflow charts or if a copy-and-paste (rather than a drag-and-drop) operation was used to create the library link, that is, if the subsystem was first copied from the library to the system clipboard (by typing Ctrl+C or selecting Copy from the Simulink Edit menu).
Clear Commands During Simulation Caused a Segmentation Violation
Executing the MATLAB command clear all or clear mex during simulation of a model with a Stateflow diagram caused a a segmentation violation.
Calling MATLAB Functions from Stateflow Charts Caused Erroneous Results
Calling MATLAB functions from Stateflow charts using either the MATLAB namespace operator ml. or by using the function form ml() with an argument whose datatype was not double caused erroneous results.
| Stateflow 6.0 and Stateflow Coder 6.0 Release Notes | Upgrading from an Earlier Release | ![]() |
© 1994-2005 The MathWorks, Inc.