Main Content

Stateflow.JunctionPosition

Position and size of junctions

    Description

    Use a Stateflow.JunctionPosition object to control the position and size of a connective or history junction.

    Creation

    Each junction has its own Stateflow.JunctionPosition object. To access the Stateflow.JunctionPosition object, use the Position property for the Stateflow.Junction object.

    Properties

    expand all

    Stateflow® API objects have properties that correspond to the values you set in the Stateflow Editor. To access or modify a property, use dot notation. To access or modify multiple properties for multiple API objects, use the get and set functions, respectively. For more information, see Modify Properties and Call Functions of Stateflow Objects.

    Position of the center of the junction, specified as a two-element numeric vector [x y] of coordinates relative to the upper left corner of the chart.

    Radius of the junction, specified as a scalar.

    Examples

    collapse all

    Set the radius of the connective junction junction to 10.

    junction.Position.Radius = 10;

    Version History

    Introduced before R2006a