| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Stateflow |
| Contents | Index |
| Learn more about Stateflow |
This table summarizes what's new in V4.0 (R12):
| 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:
Code generation from Stateflow Coder software has been significantly improved:
The code looks hand written.
ROM and RAM size rivals hand-written code.
Code generation is faster.
This release automatically upgrades all features introduced in previous versions of Stateflow software to work with Release 12 of the MATLAB product family.
If you open a machine (model) made with a previous version of Stateflow software, you will see a warning message similar to the following:
Warning: An old Stateflow machine 'sf_car' is loaded. This machine was saved with an older Stateflow 3.0311061000001. Please save this machine again!
By saving the machine in the most recent version of Stateflow software, it is automatically upgraded.
![]() | Version 4.1 (R12.1) Stateflow and Stateflow Coder Software | Version 3.0 (R11) Stateflow and Stateflow Coder Software | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |