MATLAB Answers

0

Documentation and Live Editor shows black screen on Linux

Guillaume Le Goc さんによって質問されました 2019 年 8 月 6 日
最新アクティビティ Harisanker Pradeep さんによって コメントされました 2019 年 12 月 5 日 19:55
Hello,
I'm struggling with the following problem : the documentation shows only a black screen, as you can see in the attached picture. I also noticed the same thing for the live editor, though I don't use it.
I've tried the following :
  • Changing the renderer (source) :
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
The documentation now displays OK but unformatted which is not very eye-candy. The Live Editor is still black.
  • Installing missing library (source) :
Running,
ldd ~/.matlab/$MATLABVERSION/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
I found that I was missing the deprecated libgconf library, that I installed. The return of the previous command is now empty but the problem is the same.
  • Reverting to the default renderer :
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType(' ');
The problem persists.
My computer is running Manjaro Linux with KDE. Java is installed through jre-openjdk (up to date, version 12.0.2). MATLAB version is R2019a.
I'd like to try a few things before trying the full reinstallation of MATLAB, so I'm all ears.
Cheers,
Guillaume

  0 件のコメント

サインイン to comment.

製品

2 件の回答

回答者: Guillaume Le Goc 2019 年 10 月 22 日
 採用された回答

The problem appeared again on MATLAB R2019b. I also noticed that the "Log in" button didn't work, while outputing the libselinux library was missing . Installing SELinux library solved all the problems (black screen on doc & livescripts and the Log in button).

  1 件のコメント

Harisanker Pradeep 2019 年 12 月 5 日 19:55
This worked for me. Here's the link to the libselinux aur repo -> https://aur.archlinux.org/packages/libselinux/

サインイン to comment.


回答者: Chidvi Modala 2019 年 8 月 13 日

  1 件のコメント

Guillaume Le Goc 2019 年 8 月 14 日
I didn't want to disable all desktop effects (there are many in KDE...). Oddly, reinstalling MATLAB fixed the problem. Not sure what happened there.

サインイン to comment.



Translated by