Issue using sim3d.util​s.copyExam​pleSim3dPr​oject()

4 次查看(过去 30 天)
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.

回答(1 个)

Nishan Nekoo
Nishan Nekoo 2024-3-18
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:
  1. Navigate to the following directory “C:\Program Files\Epic Games\UE_4.26\Engine\Plugins\”
  2. Find the folder “MathWorks” and delete the entire folder with its contents.
  3. Navigate to the directory “C:\project_unreal”
  4. Remove all contents from the folder (the folder itself does not need to be deleted)
  5. Uninstall MATLAB
  6. Reinstall MATLAB (be sure to include the Automated Driving Toolbox and any other necessary toolboxes)
  7. Install the support package
I hope this helps,
Nishan

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by