| Version 5.1.1 (R13SP1) Stateflow® and Stateflow® Coder™ Software Release Notes | ![]() |
This table summarizes what's new in V 5.1.1 (R13SP1):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
| Yes Details below | Yes—Details labeled as Compatibility Considerations, below. See also Summary. | No | No |
New features and changes introduced in this version are described here:
Bind actions bind specified data and events to a state. Data bound to a state can be changed by the actions of that state or its children. Other states and their children are free to read the bound data, but they cannot change it. Events bound to a state can be broadcast only by that state or its children. Other states and their children are free to listen for the bound event, but they cannot broadcast it.
Binding a function call event to a state also binds the function call subsystem that it calls. In this case, the function call subsystem becomes enabled when the binding state is entered and becomes disabled when the binding state is exited.
Bind actions are documented in the Stateflow and Stateflow Coder User's Guide.
The Stateflow API method idToHandle is introduced to accommodate customers using old-style API scripts that use integer IDs for Stateflow objects. idToHandle is a method of the Root object that converts the integer ID of a particular Stateflow object into an API handle to the object.
In the following example, the data objectID has the value of the ID for a particular Stateflow object, and the API handle objectHandle is used to change the name of the object.
rt = sfroot; objectHandle = rt.idToHandle(objectId); objectHandle.Name = 'ABC';
Code generation now occurs faster than in the previous version, V5.1 (R13+).
Part of the improvement in code generation speed comes from turning off the display of code generation messages in the MATLAB Command Window. Therefore, you will no longer see these messages in the MATLAB Command Window.
![]() | Version 6.0 (R14) Stateflow and Stateflow Coder Software | Version 5.1 (R13+) Stateflow and Stateflow Coder Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |