Can't start "add-ons" on Matlab R2023a on Debain12.

2 vues (au cours des 30 derniers jours)
zhenyu zeng
zhenyu zeng le 3 Août 2023
Commenté : zhenyu zeng le 11 Août 2023
Hello,
The Matlab R2023a was installed on my computer successfully. But as the "add-ons" was clicked, there were errors:
Warning: X does not support locale en_US.UTF-8
Error using matlab.internal.cef.webwindow
MATLABWindow application failed to launch. Unable to launch the MATLABWindow application. The exit code was: 127
Error in matlab.internal.webwindow/createImplementation (line 319)
implObj = matlab.internal.cef.webwindow(varargin{:});
Error in matlab.internal.webwindow (line 163)
obj.impl = obj.createImplementation(varargin{:});
Error in matlab.internal.addons.AddOnsWindow (line 41)
obj.webwindow = matlab.internal.webwindow('about:blank', obj.debugPort);
Error in matlab.internal.addons.Explorer/createNewWindow (line 111)
obj.addOnsWindowInstance = matlab.internal.addons.AddOnsWindow(obj.WINDOW_TITLE, clientType, obj.windowStateUtil.getPositionForExplorer);
Error in matlab.internal.addons.Explorer/show (line 61)
obj.createNewWindow;
Error in matlab.internal.addons.launchers.showExplorer (line 140)
matlab.internal.addons.Explorer.getInstance.show(navigationData)
What is the reason? Thanks.
  4 commentaires
Walter Roberson
Walter Roberson le 3 Août 2023
Sorry, I do not know.
My guess would be that you are having problems with conflicting DLLs, such as libC.so.6 . However, it has been many years since I installed MATLAB onto Linux, and that was not a problem at the time.
zhenyu zeng
zhenyu zeng le 3 Août 2023
Thanks. You help me a lot.

Connectez-vous pour commenter.

Réponse acceptée

Darryl
Darryl le 10 Août 2023
Déplacé(e) : Walter Roberson le 10 Août 2023
I had the exact issue and discovered your post. The solution was posted over here and it worked for me.
TL;DR in the $MATLABROOT/bin/glnxa64 folder, remove the symlink for libfreetype.so.6 and make a new symlink that points to this one: /usr/lib/x86_64-linux-gnu/libfreetype.so.6
  2 commentaires
Walter Roberson
Walter Roberson le 10 Août 2023
Good find, @Darryl
zhenyu zeng
zhenyu zeng le 11 Août 2023
Thanks for your kind reply. Your answer is right. After having checked the link in your answer, I don't know what to do, but your words
TL;DR in the $MATLABROOT/bin/glnxa64 folder, remove the symlink for libfreetype.so.6 and make a new symlink that points to this one: /usr/lib/x86_64-linux-gnu/libfreetype.so.6
let me know what should I do. I just
sudo ln -sf /usr/lib/x86_64-linux-gnu/libfreetype.so.6 libfreetype.so.6
And the problem gone.
Thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by