| Contents | Index |
sfnew
sfnew('chart_type')
sfnew('model_name')
sfnew('chart_type','model_name')
sfnew creates an untitled model with an empty chart that supports full semantics.
sfnew('chart_type') creates an untitled model that contains an empty block of type chart_type.
sfnew('model_name') creates a model called model_name with an empty chart that supports full semantics.
sfnew('chart_type','model_name') creates a model called model_name with an empty block of type chart_type.
Create a model called MyModel with an empty chart that uses only Mealy semantics:
sfnew('-Mealy','MyModel')
Create a model called MyModel with an empty chart that uses only Moore semantics:
sfnew('-Moore','MyModel')
sfhelp | sfprint | sfroot | sfsave | stateflow

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 |