Unable to load MathworksSimulation Plugin in Unreal
75 次查看(过去 30 天)
显示 更早的评论
Hi,
I have installed "Vehicle Dynamics Blockset Interface for Unreal Engine 4 Projects" and trying to run the Custom method to open the AutoVrtlEnv project in Unreal.
I have followed the procedure https://in.mathworks.com/help/vdynblks/ug/support-package-for-customizing-scenes.html, installed UE4.19 (tried with 4.19.2, 4.19.0, 4.19.2_release tags from Unreal github directories and buiding the executable as EPIC Launcher is having only UE4.24 and UE4.23 versions as of now).
When tried to open the project from Matlab environment, I am getting the following errors:
- Missing or incompatible:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272630/image.png)
2. If I choose No in the above option (step 1) then getting the error as failed to load:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272631/image.png)
3. If I press OK in step 2, the Epic launcher app is launched which provides only the latest 4.24 version launch option.
4. If I press Yes in step 1, the AutoVrtlEnv project is opened but having the Load errors as below:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272632/image.png)
5. Also having the MathworksSimulation Plugin disabled:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272633/image.png)
6. If I try to enable, the Unreal application is asking for a restart and the same sequence continues. Below snapshots are for your reference on the unreal version being used:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272634/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272635/image.png)
Note that the source is built using the Github https://github.com/EpicGames/UnrealEngine/tree/4.19. I also tried with https://github.com/EpicGames/UnrealEngine/tree/4.19.2-release and https://github.com/EpicGames/UnrealEngine/tree/4.19.0-release. But all are providing the same above errors only.
7. I tried opening the AutoVrtlEnv project using the latest UE 4.24.1. But getting the following error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272636/image.png)
8. If I provide No, then the project is not loaded. If I press Yes, then getting the following error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/272637/image.png)
Request your support in adding the MathworksSimulation plugin inside Unreal engine and use the custom mode to edit the scenes in VehicleDynamicsBlockset.
10 个评论
Nishan Nekoo
2024-4-24
Hi Manoj, unfortuantely this is a technical limitation that I don't have much insight to offer into. The team may consider implementing a more robust interface mechanism in a future release that doesn't require this manual step.
回答(2 个)
Ya Wei
2021-1-18
the AutoVrtlEnv unreal project must be opened from matlab command line, or form simulink block [Simulation 3D Scene Configuration] -> [Open Unreal Editor].
Because the simulink is not linked to Unreal Editor, when u double click xxx.uproject to open the AutoVrtlEnv project, the error happens. as ue editor can not find matlab plugins.
matlab command line: e.g
path = fullfile('C:','Local','myProject','myProject.uproject');
editor = sim3d.Editor(path);
open(editor);
1 个评论
Mike Sasena
2021-1-18
Since the original question was posted, we've added some new documentation which might be helpful:
Mike Sasena
2022-4-12
For those of you still learning how to install the Unreal Engine plugin, I encourage you to check out this video series. It walks you through the setup using some of our shipping exampes. Hope you find it helpful.
5 个评论
Mike Sasena
2023-3-3
Hi Harshal. It's hard to debug something via a chat thread. I'd recommend you reach out to our Tech Support team who can work directly with you to resolve your specific issue.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Block Libraries 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!