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

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에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2021년 4월 13일

댓글:

2021년 4월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by