mujoco-simulink-blockset icon indicating copy to clipboard operation
mujoco-simulink-blockset copied to clipboard

Non-existing directories in MATLAB path after uninstall of toolbox

Open traversaro opened this issue 2 years ago • 4 comments

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.

traversaro avatar Jun 20 '23 07:06 traversaro

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.

vmanoj1996 avatar Jun 20 '23 07:06 vmanoj1996

Thanks for the update @vmanoj1996 ! Just to understand, in which commit was this "completed"?

traversaro avatar Nov 19 '23 18:11 traversaro

Hi, I was not planning to fix this. Thought of closing the issue....

vmanoj1996 avatar Nov 19 '23 18:11 vmanoj1996

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".

traversaro avatar Nov 19 '23 18:11 traversaro