findNearest
Find lane information nearest to specified timestamps in lane data object
Since R2023a
Syntax
Description
data = findNearest(lanedata,timestamps)timestamps in the laneData object
          lanedata.
data = findNearest(lanedata,timestamps,"lessThanEqual")timestamps.
data = findNearest(lanedata,timestamps,"greaterThanEqual")timestamps.
data = findNearest(___,SortLanes=sortLanes)data.
Note
This function requires the Scenario Builder for Automated Driving Toolbox™ support package. You can install the Scenario Builder for Automated Driving Toolbox support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.