crop
Syntax
Description
crop(
crops data from the sensor data object to the time interval from the specified start time
sensorDataObj
,startTime
,endTime
)startTime
to the specified end time endTime
, and
updates the sensor data object sensorDataObj
.
crops data from the input sensor data object sensorDataCropped
= crop(sensorDataObj
,startTime
,endTime
)sensorDataObj
to the time
interval from the specified start time startTime
to the specified end
time endTime
, and returns a new cropped sensor data object
sensorDataCropped
. This syntax does not update the input sensor data
object sensorDataObj
.
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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024b
See Also
GPSData
| Trajectory
| CameraData
| LidarData
| recordedSensorData