Which version of Unreal Engine actually works with Matlab?

6 visualizaciones (últimos 30 días)
Ricardo Manriquez
Ricardo Manriquez el 22 de Sept. de 2021
Respondida: Velma el 15 de Mayo de 2025
Hello Everyone, I would like to use matlab with unreal engine C ++ to simulate my own virtual environment.
I am a bit confused about the versions that I should use for example, Matlab says I need Unreal Engine 4.23 and Visual Studio 2019, but Unreal Engine says Visual Studio 2017.
I installed the only version available for visual studio 2017, and I cannot compile Unreal Engine 4.23 due to compatibility problems, as I cannot compile Unreal Engine 4.23 in Visual Studio 2019, because it automatically updates me to the latest stable version 4.27
what are these requirements due to if when I use my latest version of Matlab R2021a and use the addons "Vehicle Dynamics Blockset Interface for Unreal Engine 4 Projects" with the updated version of unreal engine I have no problems in the simulation?
Should I ignore the fact of working with unreal engine 4.23?
Thank you.
Details:
Matlab
Unreal Engine

Respuestas (2)

Nishan Nekoo
Nishan Nekoo el 4 de Mzo. de 2025
Hi Ricardo,
Apologies that you did not get a response to this but to ensure anyone else running into this gets an answer - there is a strong dependence between the version of MATLAB and the version of Unreal that is supported to ensure that the interface is fully tested and robust to changes in the platforms over time. You can see the requirements here:
If you need to upgrade MATLAB versions, there is a guide here on how to migrate your Unreal project to a newer version of Unreal to maintain the interface support:
I hope that helps!
Nishan

Velma
Velma el 15 de Mayo de 2025
@ tinyfootprint The officially supported version of Unreal Engine for use with MATLAB (especially for tools like the Vehicle Dynamics Blockset Interface) is UE 4.23, and it's recommended to use Visual Studio 2017 for full compatibility.
However, if you're using MATLAB R2021a and everything works fine with a newer version like UE 4.26 or 4.27, then yes you can continue using that setup as long as your simulations run without issues. The 4.23 requirement is mainly for official support and compatibility assurance, but in practice, later versions may still work depending on the specific features you’re using.
Just make sure you thoroughly test your environment if you decide to go beyond the supported versions.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by