Why is MATLAB Help browser showing unformatted text on Linux (R2018b)
12 次查看(过去 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!