| Stateflow® | ![]() |
sfsave
sfsave( Model_Handle )
sfsave( Model_Handle, 'New_Model_Name' )
sfsave( Machine_Handle )
sfsave( 'Model_Name' )
sfsave( 'Defaults' )
Model_Handle | Handle to a Simulink model that contains a Stateflow block |
| 'New_Model_Name' | Name to assign to the model being saved |
Machine_Handle | Handle to a Stateflow machine |
'Model_Name' | Name of a Simulink model that contains a Stateflow block |
'Defaults' | Literal string used to save current settings as defaults |
sfsave saves the current Stateflow machine in the current directory.
sfsave( Model_Handle ) saves the Simulink model specified by Model_Handle in the current directory.
sfsave( Model_Handle, 'New_Model_Name' ) saves the Simulink model specified by Model_Handle as New_Model_Name in the current directory.
sfsave( Machine_Handle ) saves the Simulink model that contains the Stateflow machine specified by Machine_Handle in the current directory.
sfsave( 'Model_Name' ) saves the Simulink model called Model_Name in the current directory.
sfsave( 'Defaults' ) saves the settings of the current Stateflow machine as defaults.
Save the model whose handle is m as MyModel in the current directory.
sfsave(m, 'MyModel')
Save the model that contains a Stateflow machine whose handle is sf in the current directory.
sfsave(sf)
sfclose, sfnew, sfopen, sfprint
![]() | sfroot | stateflow | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |