Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-existing directories in MATLAB path after uninstall of toolbox #3

Open
traversaro opened this issue Jun 20, 2023 · 4 comments
Open
Labels
enhancement New feature or request

Comments

@traversaro
Copy link

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.

@vmanoj1996
Copy link
Member

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.

@traversaro
Copy link
Author

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

@vmanoj1996
Copy link
Member

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

@vmanoj1996 vmanoj1996 reopened this Nov 19, 2023
@vmanoj1996 vmanoj1996 added the enhancement New feature or request label Nov 19, 2023
@traversaro
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants