Simulate RoadRunner Scenarios with MATLAB and Simulink
Automated Driving Toolbox™ provides a framework for simulating scenarios in RoadRunner with actors modeled in MATLAB and Simulink. For more information, see Overview of Simulating RoadRunner Scenarios with MATLAB and Simulink.
These are the steps of the workflow:
Author MATLAB System objects or Simulink models to define actor behavior.
Associate actor behavior in RoadRunner.
Optionally, publish an actor behavior.
Tune the parameters defined in MATLAB or Simulink for RoadRunner simulations.
Simulate a scenario using the RoadRunner user interface, or control simulations programmatically from MATLAB.
Inspect simulation results using data logging.
|Add observer to scenario simulation|
|Get value of scenario simulation parameter|
|Remove observer from scenario simulation|
|Report information, warning or error message during scenario simulation|
|Set value of scenario simulation parameter|
|Return scenario simulations or actors in current MATLAB session|
|Publish action completion event to scenario|
|Convert actor to MATLAB structure|
|Get scenario or static attribute of actor|
|Get actions associated with actor|
|Get runtime attribute of actor|
|Set runtime attribute of actor|
|Return static attribute of actor|
- Overview of Simulating RoadRunner Scenarios with MATLAB and Simulink
This topic describes the workflow to simulate RoadRunner scenarios with MATLAB and Simulink.
- Simulate RoadRunner Scenarios with Actors Modeled in Simulink
Author RoadRunner actor behaviors in Simulink and associate actor behavior in RoadRunner.
- Simulate RoadRunner Scenarios with Actors Modeled in MATLAB
Author RoadRunner actors as MATLAB System object™ files and associate behaviors in RoadRunner.
- Publish Actor Behavior as Proto File, Package or Action Asset
Publish your Simulink or MATLAB System object actor behaviors as proto files, packages or action asset files.