3D Environment
The 3D environment is a digital space designed to simulate real-world phenomena to explore and manipulate objects within the environment. You can use the MATLAB® or Simulink® interface to create, view, and interact with the 3D environment.
Visualize the 3D environment using the Unreal Engine from Epic Games® for photorealistic rendering. You can access advanced features, such as lighting and atmospheric conditions.
Programmatically create and view a 3D environment using MATLAB or a Simulink model.
Use MATLAB and Simulink to communicate with the 3D environment during run-time through the co-simulation framework with the Unreal Engine.
Import custom scenes and scenarios designed and built in RoadRunner and visualize using the Unreal Engine environment.
View the 3D environment in the Simulation 3D Viewer using the prebuilt scenes and you can navigate in the 3D environment using keyboard shortcuts and mouse control.
Classes
sim3d.World | Create 3D environment in Unreal Engine (Since R2022b) |
sim3d.environment.WeatherConfiguration | Control scene weather and sun position (Since R2024b) |
sim3d.environment.GeospatialConfiguration | Create 3D environment in Unreal Engine (Since R2024b) |
Functions
Blocks
Simulation 3D Scene Configuration | Scene configuration for 3D simulation environment (Since R2022b) |
Scenes
Empty Scene | Empty environment |
Curved Road | Curved road 3D environment |
Straight Road | Straight road 3D environment |
Topics
Simulation Basics
- Create 3D Simulations in Unreal Engine Environment
Use MATLAB or Simulink to create, view, and interact with 3D simulations and access Unreal Engine features. - Interact with 3D Simulation Environment
Control actors using the Simulation 3D Viewer interface and programmatically control the simulation. - Navigate in 3D Environment
Control the view of the 3D environment in the Simulation 3D Viewer using keyboard shortcuts and mouse controls.
Visualize Scenario
- Simulate RoadRunner Scenarios with Actors Modeled in MATLAB and View in Unreal Engine 3D Viewer (Automated Driving Toolbox)
Define custom actor behavior and visualize RoadRunner simulations in 3D usingsim3d.scenario.ActorBehavior
object. - Create and Use an Oval Track (Vehicle Dynamics Blockset)
Create an oval track with RoadRunner and use it in a Vehicle Dynamics Blockset™ simulation that co-simulates with Unreal®.