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

请先登录,再进行评论。

 采纳的回答

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

1 个评论

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?

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by