Unable to open this file in the current system configuration. When opening a file
41 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Matthias Maile
il 16 Set 2022
Commentato: Matthias Maile
il 12 Apr 2023
Running on Fedora 36, Matlab R2022a can not open a script in the editor with the afforementioned error. Deleting and creating files works, so it has access to the filesystem. The question has been asked before but on old threads with older systems and I can not find the libraries mentioned in answers.
Running the script with the drop down menu works, its just opening it in the editor.
12 Commenti
Michael Deakin
il 16 Dic 2022
I got matlab to work when I had this issue by preloading libfreetype.so:
LD_PRELOAD="/usr/lib64/libfreetype.so.6" ~/matlab/bin/matlab
Note that this also fixes an issue installing matlab. This affects me on an up to date installation of Fedora Linux 36.
Marcel
il 16 Dic 2022
wow im surprised that you came back to it. i know many people who wouldnt bother with posting the solution. big respect
Risposta accettata
Samuel Bignardi
il 7 Apr 2023
The problem for me started after upgrading Fedora from 35 to 36.
I started matlam in log mode using ./matlab -logfile mylog.log,
Then I recreated the problem and checked the mylog.log file (was written in my /home folder). The error that caused the issue was: "Warning: The desktop configuration file is corrupt or improperly formatted.".
I found the solution on the Matlab official Q&A (link below), it consisted in using two commands:
cd <matlab_root>/bin/glnxa64/
mv libfreetype.so.6 libfreetype.so.6.old
I found the solution online here: https://www.mathworks.com/matlabcentral/answers/1779395-the-desktop-configuration-file-is-corrupt-or-improperly-formatted-when-starting-matlab
Hope this helps!
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!