Matlab 2015B freezing on startup screen

Matlab 2015B freezes on the startup screen with a fresh install of Ubuntu 14.04. A week ago it worked with 14.04 and Matlab 2015A. I have started it using the code "matlab -nodesktop" and I get the following errors:
Can't reload '/usr/local/MATLAB/R2015b/bin/glnxa64/libmwhgbuiltins.so'
Error in connector.internal.autostart.run
Error in connector.internal.autostart.run >> Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: com.mathworks.services.settings.SettingValidationException: IMsgIDException for "matlab.workingfolder.LastFolderPath": Internal Error: No write permission on directory /home/tomas/.matlab/R2015b/temp0x3730x208c. Details: fl:filesystem:AccessDenied. at com.mathworks.mlwidgets.prefs.InitialWorkingFolder.setStringSettingValue(InitialWorkingFolder.java:52) at com.mathworks.mlwidgets.prefs.InitialWorkingFolder.access$000(InitialWorkingFolder.java:15)...(more)
Any help would be greatly appreciated. I activated the product using my user name tomas and the file libmwhgbuiltins.so has read-only access by all other users. Thank you in advance.

1 commentaire

Julian Garzon
Julian Garzon le 28 Mai 2016
Hi, I am experiencing the same issue with R2016a in ubuntu 14.04. Did you get a solution?
thx

Connectez-vous pour commenter.

Réponses (1)

Siyi Deng
Siyi Deng le 2 Juin 2016
Hi, I have the exact same issue on Centos 7. Here is how I solved the problem:
cd /usr/local/MATLAB/R2015b/bin/glnxa64/
ldd libmwhgbuiltins.so | grep libX
in my case, it states
libXt.so.t6 ==> not found
so I just
sudo yum install libXt
and the problem is gone.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by