Stateflow    
sfnew

Create a Simulink model containing an empty Stateflow block

Syntax

Description

The sfnew method creates and displays an untitled Simulink model containing an empty Stateflow block. If you pass the sfnew method a model name it creates a Simulink model with the title you specified.

Arguments

modelName
Optional string model name to save model to

Returns

None

Example

Create an untitled Simulink model that contains an empty Stateflow block.

The new model appears as follows:


  sfhelp sfprint