Matlab Live Editor Error

28 次查看(过去 30 天)
Lukas
Lukas 2017-10-26
评论: VC 2022-11-10
When trying to open an existing Live Script (.mlx file) or trying to create a new one I get the error
  • The Live Editor is unable to run in the current system configuration.
This happens both with my Laptop running Arch Linux as well as a fresh install of Matlab on a reasonably fresh Install of Ubuntu on my Desktop PC. I am using Matlab version 2017a and 2017b so at least my desktop system should be supported to my knowledge. I have tried to follow the Guide on the Arch linux wiki on my Laptop, but it did not fix the problem (though I'm not fully sure I did everything correctly as I haven't worked with symlinks often).
Is there a way to fix this? I am of course happy to provide any information needed.

采纳的回答

Kojiro Saito
Kojiro Saito 2017-10-27
I'm not sure the versions of your Arch Linux and Ubuntu, but I guess libXss1 or libgconf-2-4 library is missing. In Ubuntu, please make sure these are existing in your machine,
sudo apt search libXss1
sudo apt search libgconf-2-4
If these are missing, install them by the following.
sudo apt-get libXss1
sudo apt-get libgconf-2-4
And relaunch MATLAB to confirm Live Editor is available. Please replace the corresponding package manager commands in Arch Linux.
  2 个评论
Ashish Bhatt
Ashish Bhatt 2019-9-20
installation commands should read (notice "install"):
sudo apt-get install libXss1
sudo apt-get install libgconf-2-4

请先登录,再进行评论。

更多回答(1 个)

Douglas Davis
Douglas Davis 2018-2-17
I had this issue on Linux Mint 18.3. What I did was fix some broken links in the Matlab install directory. $MATLABROOT/sys/jxbrowser-chromium/glnxa64/chromium
Changing libgcrypt.so.11_old -> /usr/lib64/libgcrypt.so.20 to libgcrypt.so.11 -> /lib/x86_64-linux-gnu/libgcrypt.so.20 and Changing libudev.so.0_old -> /usr/lib64/libudev.so.1.6.4 to libudev.so.0 -> /lib/x86_64-linux-gnu/libudev.so.1.6.4
were the major changes.
I also renamed $MATLABROOT/sys/os/glnxa64/libstdc++.so.6 to libstdc++.so.6.old which causes Matlab to use the system libstdc++ library. This greatly shortened startup times and eliminated a missing libproxy error.
  3 个评论
Scott Minkin
Scott Minkin 2019-6-17
They may also reside in your $HOME/.matlab/<releasename>/HtmlPanel/glnxa64/chromium/ directory.
VC
VC 2022-11-10
I have no 'jxbrowser-chromium' directory in /usr/local/MATLAB, and no 'HtmlPanel' directory in $HOME/.matlab/R2022b.
Please help

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by