writeCSV
Description
Add-On Required: This feature requires the Scenario Builder for Automated Driving Toolbox add-on.
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.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2024b
See Also
GPSData | Trajectory | CameraData | LidarData | recordedSensorData