findNearest
Find actor information nearest to specified timestamp in actor track list object
Since R2023a
Syntax
Description
finds the actor information nearest to the specified timestamp
data
= findNearest(trackdata
,timestamp
)timestamp
in the actorTracklist
object trackdata
.
finds the actor information nearest to and greater than the specified timestamp
data
= findNearest(trackdata
,timestamp
,"greaterThanEqual")timestamp
.
Note
This function requires the Scenario Builder for Automated Driving Toolbox™ support package. You can install Scenario Builder for Automated Driving Toolbox from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023a