| Contents | Index |
To create a new Mealy or Moore chart, follow these steps:
Add a new Stateflow block to a Simulink model; then double-click the block to open the Stateflow Editor.
Right-click in the Stateflow Editor and select Properties.
The Chart Properties dialog box opens on your desktop.
From the State Machine Type drop-down menu, select Mealy or Moore.
Click OK.
The chart icon updates to display the selected chart type:
| Mealy | Moore |
|---|---|
|
|
Design your chart according to the guidelines for the chart type (see Design Considerations for Mealy Charts and Design Considerations for Moore Charts.
![]() | Overview of Mealy and Moore Machines | Design Considerations for Mealy Charts | ![]() |

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |