findNearest
Find lane information nearest to specified timestamps in lane data object
Since R2023a
Syntax
Description
Add-On Required: This feature requires the Scenario Builder for Automated Driving Toolbox add-on.
finds the lane information nearest to the specified timestamps
data = findNearest(lanedata,timestamps)timestamps in the laneData object
lanedata.
finds the lane information nearest to and less than the specified timestamps
data = findNearest(lanedata,timestamps,"lessThanEqual")timestamps.
finds the lane information nearest and greater than the specified timestamps
data = findNearest(lanedata,timestamps,"greaterThanEqual")timestamps.