Stateflow    
delete

Delete this object

Syntax

Description

The delete method deletes this object from the model. This is true for all but objects of type Root, Chart, Clipboard, and Editor.

Arguments

thisObject
The object to delete. Can be an object of type Machine, State, Box, Function, Note, Transition, Junction, Data, Event, or Target.

Returns

None

Example

If a state A is represented by the State object sA, the command sA.delete deletes state A.


  defaultTransitions dialog