필터 지우기
필터 지우기

Editor settings are not saved on kubuntu

조회 수: 2 (최근 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 CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by