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

조회 수: 9 (최근 30일)
Tom Patno
Tom Patno 2021년 3월 3일
댓글: David Schmitz 2023년 2월 17일
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
  댓글 수: 1
David Schmitz
David Schmitz 2023년 2월 17일
Thank you, the problem were due to a third party tool saving the path even through Matlab restarts

댓글을 달려면 로그인하십시오.

카테고리

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