sfpref
Set preferences for Stateflow charts
Syntax
Description
returns the Stateflow® preferences and settings.allSettings
= sfpref
returns the setting for the specified preference.setting
= sfpref(preference
)
sets the default action language used by new Stateflow charts and state transition tables. For more information, see Change the Default Action Language.setting
= sfpref(ActionLanguage=actionLanguage
)
sets the custom pattern folder used by the Pattern Wizard. For more information, see Save Custom Flow Chart Patterns.setting
= sfpref(PatternWizardCustomDir=customPatternFolder
)
enables or disables automatic correction of common C constructs in Stateflow charts that use MATLAB® as the action language. For more information, see Auto Correction When Using MATLAB as the Action Language.setting
= sfpref(EnableLabelAutoCorrectionForMAL=autoCorrection
)
enables or disables indicator lines between transitions and associated labels.setting
= sfpref(ShowTransitionLabelOwner=transitionLabelLines
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a