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.

 Akzeptierte Antwort

Kojiro Saito
Kojiro Saito am 27 Okt. 2017

8 Stimmen

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 Kommentare

abubakar munir
abubakar munir am 17 Jun. 2018
thanks alot
Ashish Bhatt
Ashish Bhatt am 20 Sep. 2019
installation commands should read (notice "install"):
sudo apt-get install libXss1
sudo apt-get install libgconf-2-4

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Douglas Davis
Douglas Davis am 17 Feb. 2018

0 Stimmen

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 Kommentare

Jianhui liu
Jianhui liu am 6 Mär. 2018
under $MATLABROOT/sys/jxbrowser-chromium/glnxa64/chromium , I cannot see libgcrypt.so.11 , libudev.so.0,only a chromium-version.txt
Scott Minkin
Scott Minkin am 17 Jun. 2019
They may also reside in your $HOME/.matlab/<releasename>/HtmlPanel/glnxa64/chromium/ directory.
VC
VC am 10 Nov. 2022
I have no 'jxbrowser-chromium' directory in /usr/local/MATLAB, and no 'HtmlPanel' directory in $HOME/.matlab/R2022b.
Please help

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Gefragt:

am 26 Okt. 2017

Kommentiert:

VC
am 10 Nov. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by