Stateflow User's Guide Previous page   Next Page

API Methods -- Alphabetical List

The following table lists and describes the methods of the Stateflow API:

Method
Purpose
build
Build this target incrementally
classhandle
Provide a handle to the schema class of this object's type
copy
Copy the specified array of objects to the clipboard
defaultTransitions
Return the default transitions in this object at the top level of containment
delete
Delete this object
dialog
Open the Properties dialog of this object
disp
Display the properties and settings for this object
find
Return specified objects in this object at all levels of containment
generate

Generate code incrementally for this target

get
Return a MATLAB structure containing the property settings of this object
getCodeFlag
Return the specified code flag
help
Display the list of properties for this object along with short descriptions
innerTransitions
Return the inner transitions that originate with this chart or state and terminate on a contained object
make
Make (compile, link, load) this target incrementally with no code generation
methods
List the names of the methods belonging to this object
outerTransitions
Return an array of outer transitions for this state
outputData
Create, retrieve, or delete a data output to Simulink of this state's activity status
parse
Parse this chart
pasteTo
Paste the objects in the clipboard to the specified container object
rebuildAll
Completely rebuild this target
regenerateAll
Completely regenerate code for this target
set
Set specified properties with the specified values
setCodeFlag
Set the specified code flag to the value you specify
sfclipboard
Return a handle to the Clipboard object for copying objects from one owner to another.
sfexit
Close all Simulink models containing Stateflow diagrams and exit the Stateflow environment
sfhelp
Display Stateflow online help
sfnew
Create a Simulink model containing an empty Stateflow block
sfprint
Display the visible portion of a Stateflow diagram
sfroot
Return a handle to the Root object, the top object in the Stateflow model hierarchy of objects. Use it to begin accessing your Stateflow charts.
sfsave
Save the current state machine (Simulink model)
sfversion
Return the current version of Stateflow
sourcedTransitions
Return the transitions that have this object as their source
stateflow
Open the Stateflow model window
Stateflow.Box
Create a box for a parent chart, state, or box
Stateflow.Data
Create a data for a parent machine, chart, state, or box
Stateflow.EMFunction
Create an Embedded MATLAB Function for a parent machine, chart, state, box, or graphical function
Stateflow.Event
Create an event for a parent machine, chart, state, or box
Stateflow.Function
Create a graphical function for a parent chart, state, or box
Stateflow.Junction
Create a junction for a parent chart, state, or box
Stateflow.Note
Create a note for a parent chart, state, or box
Stateflow.State
Create a state for a parent chart, state, or box
Stateflow.Target
Create a target for a parent machine.
Stateflow.Transition
Create a transition for a parent chart, state, box, or function.
Stateflow.TruthTable
Create a truth table for a parent chart, state, or box
struct
Return a MATLAB structure containing the property settings of this object
up
Return the parent (container) object of this object
view
Make this object visible for editing
zoomIn and zoomOut
Zoom in or out on this chart


Previous page  API Methods Reference build Next page

© 1994-2005 The MathWorks, Inc.