Skip to Main Content Skip to Search
Product Documentation

Creating Mealy and Moore Charts

To create a new Mealy or Moore chart, follow these steps:

  1. Add a new Stateflow block to a Simulink model; then double-click the block to open the Stateflow Editor.

  2. Right-click in the Stateflow Editor and select Properties.

    The Chart Properties dialog box opens on your desktop.

  3. From the State Machine Type drop-down menu, select Mealy or Moore.

  4. Click OK.

    The chart icon updates to display the selected chart type:

    MealyMoore

  5. Design your chart according to the guidelines for the chart type (see Design Considerations for Mealy Charts and Design Considerations for Moore Charts.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS