Cannot save preferences and previous paths

조회 수: 4 (최근 30일)
Chris Benton
Chris Benton 2023년 6월 2일
댓글: Chris Benton 2023년 6월 2일
Every time I start matlab I get the following:
1) A new release of MATLAB i now available - I choose "Don't show again" - it's always shown again
2) New to Matlab? See resources for getting started - I cancel this and, every time it's shown on startup
3) Matlab doesn't save my previous paths (so my working folder from the last session)
4) It does save my command history
5) It never starts in my last working folder. If I try and specify a starting folder in preferences, it doesn't start in that folder and the preference is gone when I look.
I'm running on Linux Mint 21 Cinnamon. I've gone to the preferences folder (I ran prefdir) and made sure the folder and all files are owned by me and that I have read/write access. This only happens on one of my machines but it's one that I work on a lot and it's getting annoying.
Please help!

답변 (1개)

Harsh Saxena
Harsh Saxena 2023년 6월 2일
Hi Chris,
The problem might be occuring due to the way MATLAB is using /tmp directory. Probably because /tmp folder does not belong to the root user. Refer to these posts mentioning a similar issue:
Personally, I don't have much experience about using MATLAB in linux but I hope this helps!
  댓글 수: 1
Chris Benton
Chris Benton 2023년 6월 2일
Thank you! It works - I used the first of the two posts to create an alternative tmp folder. All good.

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by