Editor settings are not saved on kubuntu

1 回表示 (過去 30 日間)
Anthony Schenck
Anthony Schenck 2022 年 12 月 22 日
回答済み: Dhruv 2023 年 3 月 21 日
Hi,
I'm having an issue that when I change any editor setting, the change is no longer applied when I reopen Matlab.
For instance, when I run matlab schemer to change the editor to a dark-mode color scheme, the changes only work for the current session. The live script popups reappear at each startup as well for instance.
I'm running R2022b on kubuntu 22.04, kernel 5.15 fwiw.
Any help is appreciated!

回答 (1 件)

Dhruv
Dhruv 2023 年 3 月 21 日
To resolve this issue, try the following steps:
  1. Make sure that the write permissions for the MATLAB preferences directory is present, one can do this by running the command prefdir in the command window. The output should be the path to the preferences directory. If not, change the permissions using the chmod command.
  2. Make sure MATLAB is set to save preferences when it exits. Check this by going to Preferences -> MATLAB -> General -> Confirm exit. Make sure the "Save changes to layout and settings on exit" option is selected.
  3. Try resetting the MATLAB preferences to its default values. One can do this by running the command matlabprefs reset in the command window. This will reset all preferences to their default values, as a result any previously set custom preferences may get deleted.
  4. If none of the above steps work, try manually editing the MATLAB preferences file. The preferences file is located in the preferences directory and is called "matlab.prf". Open this file in a text editor and make changes to the preferences directly.
I hope this helps. Let me know if you have any further questions, I’ll be happy to assist you.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by