roadrunnerAPI
Description
The roadrunnerAPI
object enables you to programmatically author
RoadRunner scenes and scenarios, such as by creating roads and lanes, adding actors, and
building scenario logic, using MATLAB®. By authoring scenes and scenarios programmatically, you can quickly automate
repetitive authoring tasks, generate variations for automated tests, and build and modify
simulation parameters without switching between applications. To use the RoadRunner authoring API in MATLAB, you must first create a roadrunnerAPI
object for your
RoadRunner session.
Creation
Description
rrApi = roadrunnerAPI(
returns the
RoadRunner authoring API object rrApp
)rrApi
for the current RoadRunner session rrApp
.
Input Arguments
Properties
Examples
Limitations
If you do not open RoadRunner from MATLAB using the
roadrunner
function, or if you open a RoadRunner session before opening MATLAB, you must add the path to the folder containing the RoadRunner authoring API to your MATLAB session before you can use the RoadRunner authoring API functions. By default, the location of the RoadRunner authoring API folder on Windows isC:\Program Files\RoadRunner
, whereR20NNx
\bin\win64\Tools\MATLAB\api
is the release version you are using.R20NNx
Version History
Introduced in R2025a
See Also
Scenario
(RoadRunner Scenario) | Project
| PhaseLogic
(RoadRunner Scenario) | newScenario
(RoadRunner Scenario) | addActor
(RoadRunner Scenario)
Topics
- Get Started with MATLAB Functions for Scenario Authoring (RoadRunner Scenario)
- Set Up MATLAB Environment for RoadRunner Authoring Functions (RoadRunner Scenario)