Stateflow User's Guide Previous page   Next Page

Saving a Simulink Model

You start building a Simulink model in Creating a Simulink Model with a Stateflow Block. Before going any further, save your model with the following steps:

  1. In the Simulink model window, from the File menu, click Save As.
  1. The Save As dialog appears.

  1. In the File name field, enter the file name SFcontrol1.
  1. The name of the file in which you save the model is the name of the Simulink model, which is now SFcontrol1.

  1. In the Save in field and the pane below, select a directory in which to save the new Simulink model.
  2. Click the Save button to save the model.
  1. When you save your model, Stateflow creates an sfprj directory in the directory holding the project file. This directory is used to hold model information.

Once you have saved your model file the first time, you can save it again by selecting Save from the File menu.


Previous page  Creating a Simulink Model with a Stateflow Block Opening the Diagram for a Stateflow Block Next page

© 1994-2005 The MathWorks, Inc.