Main Content

Programmatic Scene and Scenario Management

Programmatically open, import, and manage scenes and scenarios by using a roadrunner object

The roadrunner object enables you to manage RoadRunner scenarios from the MATLAB® command line. You can open, save, import, and export scenarios, scenes, and projects. You can also set scenario variables and create simulations for RoadRunner Scenario.

RoadRunner also provides MATLAB functions to convert custom data into the RoadRunner HD Map data model and import your data into RoadRunner. Using these functions, you can create a new map, edit an existing map, and read and write from file. You can also represent lanes, lane boundaries, lane markings, junctions, barriers, and signs in the HD map.


roadrunnerStart RoadRunner application using MATLAB
roadrunnerHDMapCreate RoadRunner HD Map using MATLAB


expand all

newScenarioCreate new scenario in RoadRunner Scenario using MATLAB
openScenarioOpen scenario in RoadRunner Scenario using MATLAB
saveScenarioSave scenario in RoadRunner Scenario using MATLAB
exportScenarioExport scenario from RoadRunner Scenario using MATLAB
importScenarioImport file into RoadRunner Scenario using MATLAB
getScenarioVariableGet the value of RoadRunner scenario variable using MATLAB
setScenarioVariableSet RoadRunner scenario variable using MATLAB
createSimulationCreate RoadRunner Scenario simulation using MATLAB
remapAnchorRemap road anchor in RoadRunner Scenario in MATLAB
newSceneCreate new RoadRunner scene using MATLAB
openSceneOpen RoadRunner scene using MATLAB
saveSceneSave RoadRunner scene using MATLAB
exportSceneExport RoadRunner scene using MATLAB
importSceneImport scene into RoadRunner using MATLAB
exportCustomFormatExport RoadRunner scene to custom format using MATLAB
newProjectCreate new RoadRunner project using MATLAB
openProjectOpen RoadRunner project using MATLAB
saveProjectSave RoadRunner project using MATLAB
connectConnect to open instance of RoadRunner using MATLAB
closeClose RoadRunner using MATLAB
statusGet current status of RoadRunner using MATLAB
writeWrite HD Map to binary file using MATLAB
readRead HD Map from binary file using MATLAB
plotPlot RoadRunner HD Map using MATLAB