Unreal Engine Simulation Environment Requirements and Limitations
Vehicle Dynamics Blockset™ provides an interface to a simulation environment that is visualized using the Unreal Engine® from Epic Games®. This visualization engine comes installed with the toolbox. When simulating in this environment, keep these requirements and limitations in mind.
Software Requirements
The table summarizes the software requirements for Windows®.
Software | Windows |
---|---|
Operating system | Windows 64-bit |
Integrated development environment (IDE) | Visual Studio® |
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. |
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 |
---|---|---|
R2018a–R2019b | 4.19 | 2017 |
R2020a–R2021a | 4.23 | 2019 |
R2021b | 4.25 | 2019 |
R2022a–R2022b | 4.26 | 2019 |
R2023a–R2023b | 4.27 | 2019 |
Recommended Hardware Requirements
The table summarizes the recommended hardware requirements for Windows.
Hardware | Windows |
---|---|
Graphics card (GPU) | Virtual reality-ready |
Video memory (RAM) | 8 GB |
Processor (CPU) | 2.60 GHz |
Processor memory (RAM) | 32 GB |
Limitations
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
Multiple instances of the same actor tag. To refer to the same scene actor when you use the 3D block pairs, such as Simulation 3D Actor Transform Get and Simulation 3D Actor Transform Set, specify the same Tag for actor in 3D scene, Actortag parameter.
Simulink® Online™ simulation.
You cannot create or use sim3d
objects or functions in MATLAB
Online.
In addition, when using these blocks in a closed-loop simulation, all Simulation 3D blocks must be in the same subsystem.