mujoco-simulink-blockset
mujoco-simulink-blockset copied to clipboard
Non-existing directories in MATLAB path after uninstall of toolbox
Thanks a lot for the great work on this library!
I want to report a small problem. After I uninstalled the mujoco_simulink_blockset toolbox, whenever I open MATLAB I get this problem:
Warning: Name is nonexistent or not a directory: C:\Users\STraversaro\AppData\Roaming\MathWorks\MATLAB
Add-Ons\Toolboxes\mujoco_simulink_blockset\Release_win64_2022b_2.3.2\lib\win64\glfw\glfw-3.3.7.bin.WIN64\include
Warning: Name is nonexistent or not a directory: C:\Users\STraversaro\AppData\Roaming\MathWorks\MATLAB
Add-Ons\Toolboxes\mujoco_simulink_blockset\Release_win64_2022b_2.3.2\lib\win64\mujoco\include
Warning: Name is nonexistent or not a directory: C:\Users\STraversaro\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\mujoco_simulink_blockset\Release_win64_2022b_2.3.2\src
Warning: Name is nonexistent or not a directory: C:\Users\STraversaro\AppData\Roaming\MathWorks\MATLAB
Add-Ons\Toolboxes\mujoco_simulink_blockset\Release_win64_2022b_2.3.2\examples
Warning: Name is nonexistent or not a directory: C:\Users\STraversaro\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\mujoco_simulink_blockset\Release_win64_2022b_2.3.2\blocks
I guess that the problem is that during the uninstallation of the toolbox the MATLAB path does not get cleaned up, but I am not sure how this can be solved.
Hi Silvio, Thank you for trying things out. MATLAB Toolbox packaging setup was added as an after thought. And path removal was never handled from the beginning. Need to streamline the uninstall workflow.
As a workaround, you could open Home Tab->Environment->Set Path. Select those paths, remove and save.
Thanks for the update @vmanoj1996 ! Just to understand, in which commit was this "completed"?
Hi, I was not planning to fix this. Thought of closing the issue....
I was not planning to fix this. Thought of closing the issue....
No problem, in that case you can close it as "not planned". I was just confused as you closed it as "completed".