Why is MATLAB Help browser showing unformatted text on Linux (R2018b)
8 ビュー (過去 30 日間)
古いコメントを表示
In R2018b, when I bring up the Help browser, e.g. using
doc classdef
it brings up a window, but it's just unformatted text, and no graphics.
I'm on Ubuntu 18.04. It is fine on R2018a.
4 件のコメント
採用された回答
Ken Morrison
2018 年 11 月 13 日
編集済み: Ken Morrison
2018 年 11 月 13 日
I was able to fix this problem on Ubuntu 18.04 LTS and Matlab R2018b. The following command, run from the system terminal, showed that the system was missing libgconf-2-4.
ldd ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
Output shows missing shared library.
libgconf-2.so.4 => not found
Solution: Install libgconf-2-4 AND restart Matlab
sudo apt install libgconf-2-4
Thanks to Alexander Maye for pointing me at jxbrowser-chromium.
9 件のコメント
zr zug
2020 年 5 月 19 日
After I install matlab R2020a on Ubuntu 18.04 LTS, the help document can not display normally. The possible reason might be similar to this question, because I find that the jxbrowser-chromium dir disappears. The dir exsits in neither ~/.matlab/R2020a/HtmlPanel/ or .../Polyspace/R2020a/sys. I only find the dir in .../Polyspace/R2020a/java/jarext. I wonder whether I can directly copy the jxbrower-chromium folder to the path .../Polyspace/R2020a/sys or is there any other solutions.
Gregory Kriehn
2020 年 6 月 14 日
Installing Matlab R2020a on Fedora 32 produces silimilar problems. There are no missing libraries when running the command, however.
その他の回答 (4 件)
Alexander Maye
2018 年 11 月 7 日
編集済み: Alexander Maye
2018 年 11 月 7 日
Just had a conversion with Mathwork's support, and this helped me to solve the problem in openSUSE Leap 15 in the following way:
1) make ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium executable
2) install libcrypto.so.1.0.0
On openSUSE, this library is provided by the package openssl1_0_0, and after installation, the help browser runs fine.
2 件のコメント
Alexander Maye
2018 年 11 月 12 日
Sorry for the confusion. To make something executable, enter chmod +x something.
Bernard Llanos
2018 年 11 月 20 日
I had the same symptoms on Ubuntu 18.04 (as well as the error described here), with R2018b, but for a slightly different problem:
ldd $MATLAB_INSTALLATION_FOLDER/R2018b/sys/jxbrowser-chromium/glnxa64/chromium/jxbrowser-chromium | grep -i found
The output shows that I had a broken link:
libgcrypt.so.11 => not found
since
$MATLAB_INSTALLATION_FOLDER/R2018b/sys/jxbrowser-chromium/glnxa64/chromium/libgcrypt.so.11
was a symbolic link to
/lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
whereas I had
/lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
I replaced the symbolic link with a link to the generic link
/lib/x86_64-linux-gnu/libgcrypt.so.20
which resolved the issues.
3 件のコメント
Bernard Llanos
2019 年 1 月 24 日
You are probably looking in
.../sys/jxbrowser/glnxa64
instead of
.../sys/jxbrowser-chromium/glnxa64
By generic link, I meant a symbolic link to a file that does not specify the version number so precisely (20 instead of 20.2.1 or 20.0.5)
If you run
ls -l /lib/x86_64-linux-gnu/libgcrypt.so.20*
you should see that there are two items listed, one which is libgcrypt.so.20, and which is actually a symbolic link to the other, which is a file called libgcrypt.so.20.2.1. If you create a symbolic link to libgcrypt.so.20, the link will be valid even when libgcrypt.so.20.2.1 is replaced with a newer version, because libgcrypt.so.20 will have been updated to point to the newer version.
Shirshendhu Panday 16BEE0129
2019 年 2 月 11 日
Iam getting same problem on Windows after the update but I can't search anything in the help window and online documentation is also not working.
Alexander Krings
2019 年 3 月 29 日
I was able to solve this problem for R2019a on a CENTOS7 (64bit/only) system.
In the first step i located the jxbrowser-chromium (MATLAB/R2019a/sys/jxbrowser-chromium/glnxa64/chromium)
I opened a terminal and entered>
ldd jxbrowser-chromium | grep -i found
which gave me
libcrypto.so.1.0.0 => not found
Luckily I had the idea to search if the file was already on my system. I do not want to risk downloading a library that does cryptography "obviously" .. somewhere on the internet.
find . | grep so.1.0.0
showed me
./bin/glnxa64/libcrypto.so.1.0.0
./bin/glnxa64/libssl.so.1.0.0
that the missing file came already with the installation. I copied the file and send it to
MATLAB/R2019a/sys/jxbrowser-chromium/glnxa64/chromium
and also set
webutils.htmlrenderer('chromium');
in Matlab Command Window. Restart Matlab and it works. But, loading the pages is still pretty slow. This could be improved !
0 件のコメント
yunhui zhou
2019 年 6 月 23 日
Same problem for Matlab R2018b on Kubuntu 19.04. In my case, running:
ldd ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
showed that I was missing libgconf-2.so.4 and ibcrypto.so.1.0.0. I solved the problem by running:
sudo apt install libgconf-2-4
cp /usr/local/MATLAB/R2018b/bin/glnxa64/libcrypto.so.1.0.0 ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/
However, even after this rendering in the help broswer was slow, though it can correctly format the page.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!