Unreal Engine Simulation Environment Requirements and Limitations
Automated Driving Toolbox™ provides an interface to a simulation environment that is visualized using the Unreal Engine® from Epic Games®. When simulating in this environment, keep these requirements and limitations in mind.
Software Requirements
Note
Simulating models in the 3D visualization environment requires Simulink® 3D Animation™.
The table summarizes the software requirements for Windows® and Linux® platforms.
Software | Windows | Linux |
---|---|---|
Operating system | Windows 64-bit | Debian® 11 (recommended) |
Integrated development environment (IDE) | Visual Studio® | Visual Studio Code |
Graphics driver | Microsoft® DirectX® — If this software is not already installed on your machine and you try to simulate in the environment, the toolbox prompts you to install it. Once you install the software, you must restart the simulation. | Vulkan®: AMD® (21.11.3+) and NVIDIA® (515.48+) (recommended) Vulkan — If this software is not already installed on your machine and you try to simulate in the environment, the toolbox returns an error. To install the software, run these commands in the Linux terminal. sudo apt install vulkan-tools sudo apt install mesa-vulkan-drivers sudo apt install nvidia-vulkan-common vkcube |
If you are customizing scenes, you must install Unreal Editor. In addition, verify that your Visual Studio and Unreal Engine project versions are supported by your MATLAB® release.
MATLAB Release | Unreal Engine Version | Visual Studio Version |
---|---|---|
R2019b | 4.19 | 2017 |
R2020a–R2021a | 4.23 | 2019 |
R2021b | 4.25 | 2019 |
R2022a–R2022b | 4.26 | 2019 |
R2023a–R2023b | 4.27 | 2019 |
R2024a | 5.1 | 2022 |
R2024b | 5.3 | 2022 |
Recommended Hardware Requirements
The table summarizes the recommended hardware requirements for Windows and Linux platforms.
Hardware | Windows | Linux |
---|---|---|
Graphics card (GPU) | Virtual reality-ready | NVIDIA GeForce® 960 GTX or higher with latest binary drivers |
Video memory (RAM) | 8 GB | 8 GB |
Processor (CPU) | 2.5 GHz or faster | 2.5 GHz or faster |
Processor memory (RAM) | 32 GB | 32 GB |
Limitations
Mac platforms do not support co-simulation between Simulink and the Unreal Engine.
Simulink Online™ does not support co-simulation between Simulink and the Unreal Engine.
MATLAB Online does not support
sim3d
objects or functions.The Simulation 3D blocks do not support:
Code generation
Model reference
Multiple instances of the Simulation 3D Scene Configuration block
Multiple Unreal Engine instances in the same MATLAB session
Rapid accelerator mode
Simulink Online simulation.
For closed-loop simulation, all Simulation 3D blocks must be in the same subsystem.