Simulate Actors with MATLAB and Simulink
RoadRunner Scenario supports simulation with MATLAB and Simulink. In the RoadRunner Scenario simulation workflow:
Generate Simulink and MATLAB System object™ behaviors.
Associate behaviors to actors in RoadRunner Scenario, tune parameters, and simulate scenarios to observe behaviors.
Publish your Simulink and MATLAB System object behaviors as proto files or packages.
Simulation Configuration
Topics
- Overview of Simulating RoadRunner Scenarios with MATLAB and Simulink (Automated Driving Toolbox)
This topic describes workflows to create actor behaviors in MATLAB or Simulink, associate the behaviors with graphical actors in RoadRunner Scenario, start the scenario simulation in RoadRunner, and log simulation results for further analysis.
- Specify and Assign Actor Behaviors
Assign behaviors to actors in RoadRunner, MATLAB and Simulink, or in external simulators, such as CARLA.
- Design Vehicle Following User-Defined Actions Scenario
Design a scenario where vehicle behavior using user-defined actions is processed in MATLAB and Simulink.
- Design Vehicle Following User-Defined Events Scenario
Design a scenario where vehicle behavior reading and writing user-defined events is created in MATLAB and Simulink.
- Add Sensors to RoadRunner Scenario Using MATLAB (Automated Driving Toolbox)
Simulate a RoadRunner Scenario with sensor models defined in MATLAB and visualize object and lane detections.
- Add Sensors to RoadRunner Scenario Using Simulink (Automated Driving Toolbox)
Simulate a RoadRunner Scenario with sensor models defined in Simulink and visualize object and lane detections.
- Generate RoadRunner Scenario Using Tabular Data for AEB Car-to-Car Testing (Automated Driving Toolbox)
Generate RoadRunner scenario using tabular data for AEB car-to-car testing. (Since R2024a)
- Publish Ground Truth and Sensor Data from RoadRunner Scenario to ROS 2 Network (ROS Toolbox)
Publish ground-truth and sensor data from a RoadRunner scenario to ROS 2 network and visualize it using ROS Data Analyzer app. (Since R2025a)

















