Editor settings are not saved on kubuntu

1 visualización (últimos 30 días)
Anthony Schenck
Anthony Schenck el 22 de Dic. de 2022
Respondida: Dhruv el 21 de Mzo. de 2023
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!

Respuestas (1)

Dhruv
Dhruv el 21 de Mzo. de 2023
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.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by