exportActorTrajectoryToCSV
Export trajectories of actors in RoadRunner scenario to comma-separated values (CSV) files using MATLAB
Since R2025a
Syntax
Description
exportActorTrajectoryToCSV(
exports the trajectories of the actors in the current scenario of the specified RoadRunner
Scenario application rrApp
,folderpath
,foldername
)rrApp
to CSV files. The function exports a separate
CSV file for each actor to the specified folder foldername
in the
specified location folderpath
. Each exported CSV file contains the time,
position, and, orientation values of the waypoints on the trajectories of the corresponding
actor.
exportActorTrajectoryToCSV(
sets options using one or more name-value arguments. For example,
rrApp
,folderpath
,foldername
,Name=Value
)ExcludeTiming=true
excludes the timing values of waypoints on the actor
trajectories from the exported CSV files.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2025a
See Also
roadrunner
| openScenario
| simulateScenario
Topics
- RoadRunner Scenario Fundamentals (RoadRunner Scenario)
- Simulate a RoadRunner Scenario Using MATLAB Functions