- Navigate to the following directory “C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\”
- Find the folder “MathWorks” and delete the entire folder with its contents.
- Navigate to the directory “C:\project_unreal”
- Remove all contents from the folder (the folder itself does not need to be deleted)
- Uninstall MATLAB
- Reinstall MATLAB (be sure to include the Automated Driving Toolbox and any other necessary toolboxes)
- Install the support package
Issue using sim3d.utils.copyExampleSim3dProject()
4 views (last 30 days)
Show older comments
Note: I am using Matlab R2023a.
I am trying to customize some Unreal Engine scenes to use with the Automated Driving Toolbox. I was following this documentation: Install Support Package for Customizing Scenes - MATLAB & Simulink (mathworks.com). I have successfully installed Automated Driving Toolbox Interface for Unreal Engine 4 Projects within Matlab.
I tried using the
sim3d.utils.copyExampleSim3dProject("C:\project", VerboseOutput=true);
function, but that results in the following error:
Copying C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\shared\sim3dprojects\spkg\project\AutoVrtlEnv to C:\project\AutoVrtlEnv
Creating C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\MathWorks
Ensuring C:\project\AutoVrtlEnv\AutoVrtlEnv.uproject is writable
Error using fileattrib
The system cannot find the path specified.
Error in sim3d.utils.copyExampleSim3dProject
Error in sim3d.utils.copyExampleSim3dProject
I also tried to do it manually following the documentation, but the specific files that are specified do not exist on my computer. There is no MathworkSimulation folder anywhere on my machine.
Thank you for any assistance.
0 Comments
Answers (1)
Nishan Nekoo
on 18 Mar 2024
Hi Upneet,
You should be able to verify the existence of the "AutoVrtlEnv.uproject" file under "C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\shared\sim3dprojects\spkg\project\AutoVrtlEnv\"
If this file does not exist, it means the support package did not install correctly.
If you believe the installation was done correctly, I would recommend reinstalling MATLAB and the support package using the following steps:
I hope this helps,
Nishan
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!