- "The Live Editor is unable to run in the current system configuration" error message when starting Live Editor on U... - MATLAB Answers - MATLAB Central (mathworks.com)
- Matlab Live Editor Error - MATLAB Answers - MATLAB Central (mathworks.com)
Matlab Live Editor: "Unable to open this file in the current system configuration."
204 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Doron Behar
il 1 Ott 2022
Modificato: Emilio
il 16 Apr 2025
I am running Matlab 2022b on NixOS - an unsupported-officially Linux distribution. I get this error since a few months ago when I try to open a matlab file:

Scrolling down that message shows the text:

And opening that "Requirements" link doesn't work - brings me to an empty web page:

I got this error message also with version 2021b. I don't use Matlab frequently enough to mark the day it stopped working, but I assume it was due to a system update. The list of system dependencies I have installed in Matlab's environment is available here:
2 Commenti
Shreyas
il 4 Ott 2022
Hello Doron,
I have attached a few articles for a possible workaround:
As already mentioned, NixOS is not a supported configuration. Also visit the Road Map (https://www.mathworks.com/support/requirements/platform-road-map.html) page for MATLAB & Simulink to check for a non-supported setup.
Thank You.
Risposta accettata
Alessandro Genova
il 20 Ott 2022
cd <matlab_root>/bin/glnxa64/
mv libfreetype.so.6 libfreetype.so.6.old
18 Commenti
Più risposte (2)
Jack
il 17 Mar 2025
I have just experienced this issue on Ubuntu 24.04 as the system libstdc++ is newer than that bundled with matlab. This resulted in all sorts of delightful statements like
./glnxa64/builtins/glee/../../../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by /lib/x86_64-linux-gnu/libLLVM.s
o.19.1)
and repeated for basically every library shipped with the software. The solution is LD_PRELOAD and manually specifying to use the system version of libstdc++:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 bin/matlab
1 Commento
Marc Compere
il 18 Mar 2025
Modificato: Marc Compere
il 18 Mar 2025
Hello, thanks @Jack. this is helpful. I've seen the same errors and am kind of stunned at what has happened. Did Mathworks really ship the wrong libstdc++??? Wow.
this is, indeed, bizarre.
it sems the @MathWorks Support Team would definitely want to know how wonky their Linux code is that they're shipping. Sending out code with a mismatched libstdc++ has never happened in my experience with Matlab.
----
The way LD_PRELOAD works is to put it right on the command line before the executable. So the line from @Jack above works when you're trying to execute:
bin/matlab
I've got a symbolic link to /usr/local/bin/matlab, so I never run bin/matlab.
this works wherever the symbolic link points:
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/local/bin/matlab
Roman Briskine
il 7 Nov 2022
On minimal Ubuntu 22 with xfce4, I had to install libgbm1. The other essential requirements such as libxt6 and libxft2 seem to be satisfied when xfce4 is installed.
If you are getting some weird error that does not happen elsewhere, you can find all the external libraries Matlab is linking to by running the following command.
find /usr/local/MATLAB/R2022b -name "*.so*" -exec ldd {} \; 2>/dev/null | grep 'not found' | sort -u | sed -r 's/^\s+(\S+.so).*$/\1/'
Many of them are optional and hunting them down might take a while but certainly possible. The search can be facilitated by comparing this to what you get on a properly working installation.
0 Commenti
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!