paths removed and Set Path saved yet removed paths reappear at start up

4 次查看(过去 30 天)
Hi:
Some paths were previously set that are now causing errors when I restart MATLAB and run a script. I open Set Path, highlight the paths to remove & remove them, I save, then close.
The paths are in Set Path at every restart.
Please advise
  1 个评论
David Schmitz
David Schmitz 2023-2-10
编辑:David Schmitz 2023-2-10
Hi,
For me it's the same Problem I don't get rid of some path entrys even after rmoving them and saving.
Could you please help.

请先登录,再进行评论。

回答(1 个)

Luca Ferro
Luca Ferro 2023-2-10
编辑:Luca Ferro 2023-2-10
2 alternative methods i would try:
1.
rmpath(genpath(topLevelFolder)); %in case it has subfolders that create issues genpath may be necessary
rehash toolboxcache
2.
restoredefaultpath %if you dont care about the your current path tree, this will reset it to factory
rehash toolboxcache

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by