Main Content
RoadGroup
Description
The RoadGroup
object stores the specifications of road segments
that combine to form a road junction or intersection.
Creation
To create a RoadGroup
object, use the
driving.scenario.RoadGroup
creation function. Then, create a road
junction or intersection by following these steps:
Description
creates a
rg
= driving.scenario.RoadGroupRoadGroup
object with properties Name
and
Roads
.
additionally specifies the name, rg
= driving.scenario.RoadGroup('Name',name
)name
for the road junction, where
name
is a character vector or string scalar.
name
sets the Name
property.
Properties
Examples
Version History
Introduced in R2021a