problem on using the interface between unreal engine and simulink
Show older comments
I am using matlab R2022a and also unreal engine 4.26 , following the step on customizing the scene tutorial but when i want to try to use the uproject file provided from matlab inside one of the example in the vehicle dynamic blockset , i get stuck.
The issue is right after i initialize the simulink , when i click 'play' in unreal engine , the game engine with start as below and quickly exit and the simulink with terminate .


2 Comments
Martin Missihoun
on 1 May 2022
I'm facing the same problem. Can anybody help?
Lee Kahonn
on 7 May 2022
Answers (1)
Nishan Nekoo
on 25 Jan 2024
0 votes
There was an issue in R2022a with the "Vehicle Dynamics Blockset Interface for Unreal Engine 4 Projects support package" that contains the plugins required for co-simulation. The issue was fixed in R2022a Update 1.
You can upgrade the support package by clicking on "Add-Ons" in the MATLAB Toolstrip (the toolbar at the top of the MATLAB Desktop window) and selecting "Manage Add-Ons". Click on the "Updates" tab and then select the support package and click "Update".
Categories
Find more on Simulink 3D Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!