Matlab Live Editor: "Unable to open this file in the current system configuration."

537 ビュー (過去 30 日間)
Doron Behar
Doron Behar 2022 年 10 月 1 日
コメント済み: Reza 2025 年 2 月 17 日 17:07
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 件のコメント
Shreyas
Shreyas 2022 年 10 月 4 日
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.
Doron Behar
Doron Behar 2022 年 10 月 4 日
Thanks for the links, I didn't find them when searching the web for the error.
I tried adding libgconf-2.so and libXss.so.1 to the environment in which I'm launching Matlab, but it didn't help. Also the mentioned sys/jxbrowser-chromium/glnxa64/chromium directory in the installation directory doesn't exist I assume in MATLAB 2022b, so I don't know how to apply that suggestion..
Help is still wanted, and appreciated.

サインインしてコメントする。

採用された回答

Alessandro Genova
Alessandro Genova 2022 年 10 月 20 日
cd <matlab_root>/bin/glnxa64/
mv libfreetype.so.6 libfreetype.so.6.old
  16 件のコメント
Frederic
Frederic 2025 年 2 月 11 日 19:45
Thank you! You saved my day.
Reza
Reza 2025 年 2 月 17 日 17:07
Thanks, @John!

サインインしてコメントする。

その他の回答 (1 件)

Roman Briskine
Roman Briskine 2022 年 11 月 7 日
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.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by