| Stateflow User's Guide | ![]() |
Position Properties
The following properties control the position of Stateflow objects in a Stateflow diagram.
| Property |
Return |
Access |
Description |
Objects |
BadIntersection |
Boolean |
RO |
If true, this object graphically intersects another state, box, or function in an invalid way. |
S B F TT |
Destination |
State or Junction |
RW |
Destination state or junction of this transition. Assign Destination the destination object for this transition.You can also use the property Destination to detach the destination end of a transition through the command t.Destination = [] where t is the Transition object. |
T |
Destination |
Double |
RW |
Location of transition destination connection on state. Varies from 0 to 12 for full clock cycle location. Value taken as modulus 12 of entered value. |
T |
LabelPosition |
Rect |
RW |
Position and size of this transition's label in the Stateflow chart, given in the form of a 1-by-4 array consisting of the following: |
T |
MidPoint |
Rect |
RW |
Position of the midpoint of this transition relative to the upper left corner of the Stateflow diagram editor workspace, in a 1-by-2 (x,y) point array. |
T |
| Position |
Rect |
RW |
Position and size of box-like objects in the Stateflow chart, given in the form of a 1-by-4 array consisting of the following: |
S B F TT EML N |
Position.Center |
Rect |
RW |
(x,y) position of junction relative to the upper left vertex of the parent chart or state. |
J |
Position.Radius |
Double |
RW |
Radius of this junction. |
J |
Source |
State or Junction |
RW |
Source state or junction of this transition. Assign Source the source object for this transition.You can also use the property Source to detach the source end of a transition with the command t.Source = [] where t is the Transition object. |
T |
SourceEndPoint |
Rect |
RO* |
x,y spatial coordinates for the endpoint of a transition. *This property can be changed only for default transitions. For all other transitions it is RO (read only). |
T |
SourceOClock |
Double |
RW |
Location of transition source connection on state. Varies from 0 to 12 for full clock cycle location. Value taken as modulus 12 of entered value. |
T |
WindowPosition |
Rect |
RW |
Position and size of this chart given in the form of a 1-by-4 array consisting of the following: |
ED |
| Font Properties | Text Properties | ![]() |
© 1994-2005 The MathWorks, Inc.