roadrunnerViewer
R2026bDescription
The roadrunnerViewer object represents a RoadRunner Viewer that enables you to visualize and annotate simulation data in 3D using
MATLAB®.
Creation
Description
opens an
instance of RoadRunner Viewer and connects MATLAB to it using the rrViewer = roadrunnerViewerroadrunnerViewer object
rrViewer.
sets additional options using one or more name-value arguments. For example,
rrViewer = roadrunnerViewer(Name=Value)ForceNew=true specifies for MATLAB to start a new RoadRunner Viewer instance instead of connecting to an existing one.
Name-Value Arguments
Output Arguments
Properties
Object Functions
| Add mesh node to RoadRunner Viewer scene graph |
| Remove 3D mesh node and child nodes from RoadRunner Viewer scene graph |
| Create primitive collection in RoadRunner Viewer scene graph |
| Add image overlay to RoadRunner Viewer viewport |
| Add text overlay to RoadRunner Viewer viewport |
drawnow | Update RoadRunner Viewer scene graph |
reset | Clear RoadRunner Viewer scene graph |
close | Close RoadRunner Viewer |
Examples
Limitations
RoadRunner Viewer does not support interactively modifying 3D meshes, primitives, or overlays in the scene graph using the viewer user interface.
RoadRunner Viewer does not display animations for 3D meshes, such as walk cycles for character assets.
If you want to simulate a scenario that uses actor meshes from RoadRunner Scenario, you must export the scenario to an ASAM OpenSCENARIO® format.
Version History
Introduced in R2026b
See Also
Camera | | Node | addMeshNodedrawnow | reset
Topics
- Get Started with RoadRunner Viewer (RoadRunner Scenario)
- Set Up MATLAB Environment for RoadRunner Authoring Functions (RoadRunner Scenario)
- RoadRunner Project and Scene System (RoadRunner)