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 个评论

You should contact MATLAB support:
They are TMW employees and know best about sources and solutions for potential problems with their software.
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
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

请先登录,再进行评论。

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Block Libraries 的更多信息

提问:

2025-12-7

Community Treasure Hunt

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

Start Hunting!

Translated by