Matlab Live Editor Error

37 views (last 30 days)
Lukas
Lukas on 26 Oct 2017
Commented: VC on 10 Nov 2022
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.

Accepted Answer

Kojiro Saito
Kojiro Saito on 27 Oct 2017
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 Comments
abubakar munir
abubakar munir on 17 Jun 2018
thanks alot
Ashish Bhatt
Ashish Bhatt on 20 Sep 2019
installation commands should read (notice "install"):
sudo apt-get install libXss1
sudo apt-get install libgconf-2-4

Sign in to comment.

More Answers (1)

Douglas Davis
Douglas Davis on 17 Feb 2018
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 Comments
Scott Minkin
Scott Minkin on 17 Jun 2019
They may also reside in your $HOME/.matlab/<releasename>/HtmlPanel/glnxa64/chromium/ directory.
VC
VC on 10 Nov 2022
I have no 'jxbrowser-chromium' directory in /usr/local/MATLAB, and no 'HtmlPanel' directory in $HOME/.matlab/R2022b.
Please help

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!