parkingSpace
Description
parkingSpace objects define the parking spaces to add to parking
lots in a driving scenario. You can define the dimensions and angle of the parking space, the
type of parking space, and the color, width, and strength of the parking lane markings. To
visualize a parking space before adding it to a parking lot, use the plot function.
To populate a parking lot with the parking spaces that you create, use the parkingLot or
insertParkingSpaces functions.
Creation
Description
space = parkingSpace creates a straight parking space that is 2.6
meters wide, 5.5 meters long, and has white lane markings.
space = parkingSpace( sets
properties using name-value arguments. For example, Name=Value)space =
parkingSpace(Type="Accessible",Width=3,Angle=60) creates an accessible parking
space that is 3 meters wide and has an angle of 60 degrees.
Properties
Object Functions
plot | Plot parking space |
Examples
Version History
Introduced in R2021b




















