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

15 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2023-8-3
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.

请先登录,再进行评论。

采纳的回答

Darryl
Darryl 2023-8-10
移动:Walter Roberson 2023-8-10
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 个评论
zhenyu zeng
zhenyu zeng 2023-8-11
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile 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!

Translated by