MathWorksSimulation Plugin for Unreal Engine could not be loaded.

Hello,
I am having trouble using the MathWorksSimulation plugin in Unreal Engine for Unreal-Simulink cosimulation. I followed the steps detailed at the link below.
When I open a project an Unreal Engine 5.3 and attempt to add the plugin, it prompts me to reload the scene. I hit yes to rebuild, and Unreal opens the scene is Visual Studio 2022, which is properly configured according to the Unreal Recommendations at the link below.
Once I have rebuilt in Visual Studio 2022, and attempt to re-launch the project, I get this error:
"Plugin 'MathWorksSimulation' failed to load because module 'MathWorksSimulation' could not be loaded. There may be an operating system error or the module may not be properly set up."
Does anyone know how to resolve this? My computer meets the hardware and software specifications detailed here. All the files are in the correct location for Unreal to access them as far as I can verify.
Thanks in advance!
Kory

3 件のコメント

Torsten
Torsten 2025 年 12 月 7 日
編集済み: Torsten 2025 年 12 月 7 日
You should contact MATLAB support:
They are TMW employees and know best about sources and solutions for potential problems with their software.
Nishan Nekoo
Nishan Nekoo 2025 年 12 月 8 日
編集済み: Nishan Nekoo 2025 年 12 月 8 日
Hi Kory,
What version of MATLAB are you using here? Have you tried using the example project provided, or are you using a custom Unreal Engine project?
Nishan
Kory
Kory 2025 年 12 月 9 日
Thank you for the replies!
I removed the Simulink 3D Animation Interface plugin and associated files, then re-ran the sim3d.utils.copyExamplesSim3DProject command and it seems to be working now. I'm not entirely sure what I did wrong the first time.
Thanks for the support,
Kory

サインインしてコメントする。

 採用された回答

Nishan Nekoo
Nishan Nekoo 2026 年 1 月 6 日

0 投票

Kory resolved the issue by removing the Simulink 3D Animation Interface plugin and associated files, then re-running the sim3d.utils.copyExamplesSim3DProject function.

2 件のコメント

Robert
Robert 2026 年 9 月 6 日 22:43
I have matlab 2026a working with unreal editor through simulink. However, when I try to pacakage the .exe scene in unreal engine 5.4.4 with the mathworks interface plugin it fails due to link errors. My unreal engine can package .exe when this plugin is disabled. Link 2002 error exit (6). How to resolve this?
Nishan Nekoo
Nishan Nekoo 2026 年 9 月 8 日 13:59
Hi Robert, can you try packaging an executable with the untouched example project? Make sure to use a clean installation of the latest plugins for R2026a by deleting the MathWorks folder at
C:\Program Files\Epic Games\UE_5.4\Engine\Plugins\Marketplace\Mathworks
and using
sim3d.utils.copyExampleSim3dProject to create a new example project with a fresh set of plugins copied.
This might help narrow down if there are any project-specific issues, or whether your environment is not set up correctly. Are there any other LINK errors that show up higher up in the log?
Nishan

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeBlock Libraries についてさらに検索

製品

リリース

R2025b

質問済み:

2025 年 12 月 7 日

コメント済み:

2026 年 9 月 8 日 13:59

Community Treasure Hunt

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

Start Hunting!

Translated by