writeCSV
Description
writeCSV( writes the trajectory
data to a CSV file in the current working directory. The CSV file contains these columns:trajectory)
time— Timestamps of trajectory waypoints.x— x-coordinates of waypoints. Units are in meters.y— y-coordinates of waypoints. Units are in meters.z— z-coordinates of waypoints. Units are in meters.
writes the trajectory data to a CSV file in the current working directory, and returns the
saved filename filename = writeCSV(trajectory)filename.
writeCSV(
specifies options using one or more name-value arguments. For example,
trajectory,Name=Value)FileName="Vehicle.csv" writes the trajectory data to the
Vehicle.csv file in the current working directory.
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
Name-Value Arguments
Output Arguments
Version History
Introduced in R2024b
See Also
GPSData | Trajectory | CameraData | LidarData | recordedSensorData