Main Content

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®. 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
To verify if the software is installed, run this command.
vkcube
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 ReleaseUnreal Engine VersionVisual Studio Version
R2018a–R2019b4.192017
R2020a–R2021a4.232019
R2021b4.252019
R2022a–R2022b4.262019
R2023a–R2023b4.272019
R2024a5.12022
R2024b5.32022

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 GB8 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

    • 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.

  • For closed-loop simulation, all Simulation 3D blocks must be in the same subsystem.

Related Topics

External Websites