Why does 2021a not remember new current folder?
이전 댓글 표시
In all the versions of Matlab prior to 2021a, the system would change the current folder to match the script under debug. Now it changes the folder, but does not remember it on the next debug run and I have to confirm "Change Folder" on every debug run. This happens even when the "Current Folder" view shows the script I am debugging. I've been reverting to 2020b to avoid this. Is there a preferences setting that I've missed?
pwd shows my default folder which agrees with the current folder window
dir(filename) does a directory on the script I'm trying to debug.
댓글 수: 1
Walter Roberson
2021년 4월 14일
This can happen if you do not have write access to your preferences directory, which you can find the name of with prefsdir()
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!