Stateflow    
Target Methods

Target objects have the methods displayed in the table below. For details on each method, see the API Methods Reference.

See also Target Properties.

Method
Description
classhandle
Return a read-only handle to the class (object type) used to define this target.
build
Build this target only for those portions of the target's charts that have changed since the last build (i.e., incrementally).
delete
Delete this target.
dialog
Display the properties dialog for this target.
disp
Display the property names and their settings for this Target object.
get
Return the specified property settings for this target.
getCodeFlag

Return the value of the specified code flag for this target.

help
Display a list of properties for this Target object with short descriptions.
make
Compile this target for only those portions of this target's charts that have changed since the last compile (i.e., incrementally). For a simulation target (sfun), a dynamic link library (sfun.dll) is compiled from the generated code.
methods
Display all nonglobal methods of this Target object.
rebuildAll
Completely rebuild this target.
regenerateAll
Completely regenerate code for this target.
set
Set the specified property of this Target object with the specified value.
setCodeFlag
Set the specified code flag for this target with the specified value.
struct
Return and display a MATLAB structure containing the property settings of this Target object.
view
Display this target in the Target properties dialog.


  Event Methods Objectless Methods