Clear Filters
Clear Filters

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

10 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 3 Aug 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.

Sign in to comment.

Accepted Answer

Darryl
Darryl on 10 Aug 2023
Moved: Walter Roberson on 10 Aug 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 Comments
zhenyu zeng
zhenyu zeng on 11 Aug 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!