"Duplicate directory name" Bug at Startup
이전 댓글 표시
It all started when I opened MatLab to find that the startup folder had been cleared (it opened in C:\Windows\system32) and my path had been defaulted. No idea why. Then I changed the startup folder with
userpath('C:\Users\Joe\Documents\MATLAB')
I restarted MatLab and it went to this startup folder fine. Then I added one of my folders to the path with the Set Path dialog box. I closed and started up MatLab again. This time MatLab gave the warning
Warning: Duplicate directory name: C:\Users\Joe\Documents\MATLAB.
Any ideas what is going on?
답변 (2개)
Aurelien Queffurust
2011년 7월 22일
1 개 추천
As you have tried the bug report 363196, try also this solution :
Ryan
2017년 6월 6일
0 개 추천
Try this (where PATH is a string of your path):
rmpath PATH savepath userpath PATH
This will make your startup directory PATH, while making it the first directory in the MATLAB path.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!