Stateflow

New Features By Release

R2013a (Version 8.1) - Released 7 Mar 2013

Version 8.1, part of Release 2013a, includes the following enhancements:

  • Output of child-state activity to Simulink using automatically managed enumerations
  • Masking of Stateflow block to customize appearance, parameters, and documentation
  • Option to parse Stateflow chart to detect syntax errors and unresolved symbols without updating diagram
  • Propagation of parameter names to generated code for improved code readability

See the Release Notes for details.

Previous Releases

R2012b ( Version 8.0) - 11 Sep 2012

R2012b introduces a major update to Stateflow with a new editor, tabular state machine representation, MATLAB as the action language and an integrated debugger.

Introducing the New Stateflow Editor :56
Navigate Stateflow diagrams and Simulink models through tabs.

State Transition Tables 4:53
Model state machines using the tabular interface in Stateflow.

Integrated Debugger 2:56
Step through a simulation and monitor data in a state diagram.

MATLAB as the Action Language 3:54
Build state machines that use MATLAB as the action language, featuring syntax auto-correction.

Stateflow Editor Assistance :50
Move and arrange objects in state diagrams easily with smart guides, transition indicator lines, drag margins, and just-in-time error notification.

New Features at a Glance

  • New editor for Stateflow charts and Simulink models with tabbed windows and model browser tree
  • Editing assistance through smart guides, drag margins, transition indicator lines, and just-in-time error notifications
  • State transition tables that provide tabular interface to model state machines
  • MATLAB language for state and transition labels with chart syntax auto-correction
  • In-chart debugging with visual breakpoints and datatips

See the Release Notes for details.

R2012a ( Version 7.9) - 1 Mar 2012

See highlights and screen shots.

Version 7.9, part of Release 2012a, includes the following enhancements:

  • API enhancements for highlighting chart objects and specifying transition destination endpoints
  • Structures and enumerated data types for inputs and outputs of exported graphical functions

See the Release Notes for details.

R2011b ( Version 7.8) - 1 Sep 2011

See highlights and screen shots.

Version 7.8, part of Release 2011b, includes the following enhancements:

  • Chart property to control saturation for arithmetic operations
  • User interface enhancements for logging states and data that improve consistency with Simulink
  • Control of default case generation for switch statements in generated code (requires Embedded Coder software)
  • Detection of state inconsistency errors at compile time instead of run time
  • Modeling of persistent output data with Mealy charts

See the Release Notes for details.

R2011a ( Version 7.7) - 8 Apr 2011

See highlights and screen shots.

Version 7.7, part of Release 2011a, includes the following enhancements:

  • Right-click option for setting local breakpoints
  • Use of MATLAB expressions to specify data size
  • Options to debug a specific chart in a model and to change data values while debugging
  • Atomic subcharts that support input events and enable control of generated function names
  • Arrays of buses passed as chart inputs and outputs
  • Option to maintain highlighting of active states after simulation
  • New signal logging format using MATLAB timeseries class, with simplified access to states and local data

See the Release Notes for details.