roadrunnerAPI
Description
The roadrunnerAPI
object enables you to programmatically author
RoadRunner scenarios, such as by adding actors, creating routes, and building scenario
logic, using MATLAB®. By authoring scenarios programmatically, you can quickly automate repetitive
authoring tasks, generate scenario 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