Create new scenario in RoadRunner Scenario using MATLAB
Create New RoadRunner Scenario
Create a new scenario in RoadRunner Scenario using MATLAB.
Start RoadRunner and open the project called
"C:\RR\MyProject".Return the RoadRunner application object in
rrApp. This example assumes that RoadRunner is installed in its default location in Windows. This call returns an object
rrApp that provides functions for performing basic workflow tasks such as opening, closing, and saving scenes and projects.
projectFolder = "C:\RR\MyProject"; rrApp = roadrunner(projectFolder);
Open an existing scene in RoadRunner. For example, open the
FourWaySignal scene, which is one of the scenes included by default in RoadRunner projects.
filename = "FourWaySignal.rrscene"; openScene(rrApp,filename);
Create a new, empty scenario in the scene using the
rrApp — RoadRunner application
RoadRunner application associated with a project, specified as a
roadrunner object. This object provides functions
for performing common workflow tasks such as opening, closing, and saving scenes and
rrApp provides functions that support importing data from
files and exporting scenes to other formats from RoadRunner.
Introduced in R2022a
- RoadRunner Scenario Fundamentals (RoadRunner Scenario)
- Simulate a RoadRunner Scenario Using MATLAB Functions