Matlab Live Editor Error

35 ビュー (過去 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 件のコメント
abubakar munir
abubakar munir 2018 年 6 月 17 日
thanks alot
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 Center および File ExchangeIntroduction 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