Cannot save preferences and previous paths

4 次查看(过去 30 天)
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