Why aren't my MATLAB preferences saved on Linux?
Mostrar comentarios más antiguos
I'm using R2022b on Linux. On first boot, I switched my keyboard shortcuts to Windows style and turned on font anti-aliasing. These affects persist between sessions.
Now, however, whatever changes I make to the preferences do not persist. e.g. If I switch the font size to 12, it reverts to 10. If I change the theming, it reverts.
Running `prefsdir` in MATLAB always shows the same directory, `~/.matlab/R2022b`, so I don't think it has trouble finding the directory. The only error that pops up when I launch `matlab` from terminal is related to libcanberra, but that's a sound library.
Any ideas? Am I missing something obvious? I'd really like to have persistant preferences. Thanks.
3 comentarios
I had the same problem on Manjaro, submitted a support request but it was summarily closed because Arch isn't a supported operating system. Matlab was putting endless .tmp files in the prefdir, every time I made a change (but only to a subset of preferences, because the subset that persists is saved in a .json file or something...)
If you have a supported OS, please submit a support request. Something was wonky with the installer download too--not sure whether that's related.
Shervin Sahba
el 21 de Sept. de 2022
Chris
el 21 de Sept. de 2022
Nice. Seems like it may get some attention as a bug too, looking at the other post.
Respuesta aceptada
Más respuestas (2)
Batuhan Baserdem
el 30 de Dic. de 2022
0 votos
This fix is not working for me; coupled with another bug that vcs integration causes matlab to crash; matlab is completely unusable for me; unless I act quick enough to open preferences and disable vcs integration on every launch. Really annoying.
Xiaowei Lin
el 1 de Abr. de 2023
Editada: Xiaowei Lin
el 3 de Abr. de 2023
0 votos
This fix works for me.
I combine this thread with the DPI thread: https://ch.mathworks.com/matlabcentral/answers/406956-does-matlab-support-high-dpi-screens-on-linux succesfully to get a scaled-up version of MATLAB in Ubuntu using a high resolution monitor.
However the checkboxes in the menus, the sliding bar, the opening photo of MATLAB, etc. are still small.
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!