https://au.mathworks.com/help/driving/ref/roadrunner.exportactortrajectorytocsv.html
exportActorTrajectoryToCSV - Export trajectories of actors in RoadRunner scenario to...
This MATLAB function exports the trajectories of the actors in the current scenario of the specified RoadRunner Scenario application rrApp to CSV files.
exporttrajectoriesactorsroadrunnerscenario