"The Live Editor is unable to run in the current system configuration" error message when starting Live Editor on Ubuntu 17.04+
45 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-4-24
编辑: MathWorks Support Team
2025-3-25
When I open Live Editor in MATLAB on my Ubuntu 17.04 system, a message pops up saying "The Live Editor is unable to run in the current system configuration", and I am unable to use the Live Editor. Why is this happening? How can I fix it?
采纳的回答
MathWorks Support Team
2025-3-24
编辑:MathWorks Support Team
2025-3-25
This is a bug in MATLAB R2017b (and later) that affects Ubuntu 17.04 (and later). Since the release of Ubuntu 17.04, the libgconf-2.so.4 library does not get installed unless it was already on the system prior to an upgrade. However, this library is needed by the Live Editor in order to run.
As a workaround, run the following command in the terminal to install the missing library:
sudo apt-get install libgconf2-4
Two other workarounds to try on an Ubuntu 24.04 machine (currently known in MATLAB R2024a) are:
1) Remove libstdc++.so.6 from the MATLAB R2024a area. It may also need to be removed from a MATLAB user's own ~/.MathWorks/ directory tree.
or
2) Set the env variable LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 when invoking MATLAB, which will hopefully force the system to prefer the system libstdc++.so.6 over the MATLAB copy.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!