Stateflow User's Guide Previous page   Next Page
stateflow

Open the following:

Syntax

Description

The global stateflow method opens a Simulink model with a Stateflow block (chart) and the Stateflow library. The Simulink model contains an untitled Stateflow block that contains an empty Stateflow diagram. Use the Stateflow block to include a Stateflow diagram in a Simulink model.

Arguments

None

Returns

None

Example

This example shows how to open the Stateflow model window and use a Stateflow block to create a Simulink model:

  1. Invoke Stateflow.
  1. The Simulink Stateflow library of blocks appears,

    along with an untitled Simulink model containing a Stateflow block.

  1. Double-click the untitled Stateflow block in the untitled Simulink model to invoke a Stateflow editor window.


Previous page  sourcedTransitions Stateflow.Box Next page

© 1994-2005 The MathWorks, Inc.