Programmatically create, edit, and simulate your Stateflow® charts by using MATLAB commands. Access and edit the properties and methods, set positions, or copy and paste objects in your chart. Edit graphical properties by accessing the editor object.
|Recently selected objects in chart|
|Stateflow clipboard object|
|Create Simulink model that contains an empty Stateflow block|
|Open existing model|
|Print graphical view of charts|
|Save chart in current folder|
|Open Stateflow online help|
|Open Stateflow library window|
|Open Stateflow library window and create Simulink model that contains an empty chart|
|Open Stateflow Debugger|
|Open Model Explorer|
|Provide handle to schema class of object type|
|Return default transitions in object at top level of containment|
|Display properties and settings for object|
|Return specified objects|
|Return MATLAB structure containing property settings of object or array of objects|
|Display list of properties for object with accompanying descriptions|
|Return inner transitions that originate with chart or state and terminate on contained object|
|List methods belonging to object|
|Return array of outer transitions for object|
|Set properties with specified values|
|Return transitions that have object as destination|
|Return transitions that have object as source|
|Return MATLAB structure containing property settings of object|
|Return parent of object|
|Copy specified array of objects to clipboard|
|Paste objects in clipboard to specified container object|
|Insert image from clipboard or image file into an annotation|
|Create atomic box|
|Create atomic subchart|
|Create MATLAB function|
|Create graphical function|
|Create Simulink based state|
|Create Simulink function|
|Create truth table function|
Create and edit Stateflow charts by using MATLAB commands.
Use dot notation to refer to API properties and methods.
Add and delete Stateflow objects to your chart.
Create handles to manipulate Stateflow objects in your chart.
Access the clipboard object to duplicate Stateflow objects.
fitToView method to zoom in on an object in your
Programmatically reposition states and subcharts.
Editor object to perform graphical operations on
Indicate which substate becomes active during state initialization.
Connect transitions between different levels in a chart.
Specify more than one line of text in your state and transition labels.