Add-ons, Logging in etc Do Not Work - Linux installation

I have intalled the latest version of matlab onto a Ubuntu machine. I also installed the support package available on the software library. Matlab works perfectly except certain function do not react at all. This includes using any add-on links, the add-on manager, trying to log in, or even use the request support etc buttons. They are clickable, but nothing happens.
Any help woudl be appreciated

4 件のコメント

Bo Johnson
Bo Johnson 2018 年 5 月 16 日
Have you had any luck fixing this issue? I'm getting the same problem but the answers below didn't help in my situaiton.
Nico Spo
Nico Spo 2018 年 5 月 17 日
編集済み: Nico Spo 2018 年 5 月 17 日
I have the same problen with Ubuntu 18.04 and MATLAB R2016b. Workaround see below.
Simone Perriello
Simone Perriello 2018 年 12 月 5 日
For archlinux, you have to install libsepol and libselinux from AUR.
N/A
N/A 2019 年 6 月 6 日
編集済み: N/A 2019 年 6 月 6 日
@Simone Perriello's answer works and you may also need to install libxss from Arch core repositories. This missing dependency was found from Answer by Joakim Lindblad on 27 Feb 2018

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

回答 (5 件)

Joakim Lindblad
Joakim Lindblad 2018 年 2 月 27 日

2 投票

To get "Manage Add-Ons" to work: Run from matlab prompt:
>> cd(matlabroot)
>> cd bin/glnxa64
>> !./MATLABWindow -url=http://mathworks.com --disable-gpu
If it tells you 'libselinux.so.1' is missing, then try to install it (I don't know where to find it on Ubuntu; on Gentoo I run 'emerge libselinux')

6 件のコメント

Joakim Lindblad
Joakim Lindblad 2018 年 2 月 27 日
編集済み: Joakim Lindblad 2018 年 2 月 27 日
If it tells you an error mentioning 'libstdc++.so.6', e.g.
[0227/233850:ERROR:nss_util.cc(744)] Error initializing NSS with a persistent database (sql:/home/user/.pki/nssdb): /usr/local/MATLAB/R2017b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/lib64/libicui18n.so.60)
then that's because Matlab ships binaries which are older than what you've got on your computer. As root do:
cd /usr/local/MATLAB/R*/sys/os/glnxa64
mkdir not_to_be_found
mv libstdc++.so* libgcc_s.so* not_to_be_found
(there may be more files in the same director which should be hidden from Matlab view)
Bo Johnson
Bo Johnson 2018 年 5 月 17 日
So I've done the above but get the following error after running !./MATLABWindow -url=http://mathworks.com --disable-gpu:
./MATLABWindow: symbol lookup error: /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0: undefined symbol: g_log_structured_standard
I looked at installing all the libatk-1.0 packages I could find but even after than haven't had any luck... Any suggestions on next steps?
Nico Spo
Nico Spo 2018 年 5 月 17 日
I managed to get it to work with a LD_PRELOAD for libstdc++ (had another problem) and then using this (moving all libglib files): https://de.mathworks.com/matlabcentral/answers/364551-why-is-matlab-unable-to-run-the-matlabwindow-application-on-linux
Bo Johnson
Bo Johnson 2018 年 5 月 21 日
Awesome! This worked great, I just needed to move all the libglib files and everything is working now. Thanks!
Joakim Lindblad
Joakim Lindblad 2019 年 10 月 30 日
Ok, a year and so later, I'm back at the same problem. This time I got as output from:
!./MATLABWindow -url=http://mathworks.com --disable-gpu
./MATLABWindow: symbol lookup error: /usr/lib64/libatk-1.0.so.0: undefined symbol: g_log_structured_standard
This was solved by
Then the Add-ons window worked, however, no typing! Gah!
Copy pasting stuff into the dialog boxes was enough for me...
Some internet sources say it works if you're root, but then my licence manager complained.
Luither Clark
Luither Clark 2020 年 4 月 24 日
Another library that needs to be present is libXss.so.1, which is installed by the libXScrnSaver package on RHEL 8.

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

Rogier Delporte
Rogier Delporte 2019 年 3 月 13 日

0 投票

I'm having a similar issue: I can open the addon explorer and the sign in, but whenever I go to click on a textbox, I cannot fill out the field.
I've tried setting aside the libraries mentioned in https://nl.mathworks.com/matlabcentral/answers/364551-why-is-matlab-unable-to-run-the-matlabwindow-application-on-linux, but that did not help at all.
I'm running Ubuntu 18.10, kernel 4.18.0-16-generic, MATLAB version 9.5.0.944444 (R2018b).

1 件のコメント

yannick
yannick 2019 年 3 月 19 日
I had the same issue, no textbox was working. Having started MATLAB with root privilege (sudo matlab) it works fine.
Hope that helps.

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

Kirk Walla
Kirk Walla 2019 年 7 月 22 日

0 投票

I've encountered the same issue where the install update and sign in buttons were unresponsinve. I am on arch linux and after installing libselinux thinks started to work but now I have the following strange behaviour where whenever I press the button install updates it oscilates between R2018 update 2 and R2018 update 4 and it never goes beyond that in updating for instance to R2019a. I don't know is this the default behaviour or if something is not working completely.
If anyone has any ideas plz let me know. Thanks!
Kirk Walla
Kirk Walla 2019 年 7 月 22 日

0 投票

I had the same issue on arch linux and after installing libselinux things started to work but now if I press the install update button it oscilates between R2018 update 2 and R2018 update 4 without going beyond that, for instance in updating to R2019a. Is that normal behaviour? Thanks!
Jay Vaidya
Jay Vaidya 2020 年 9 月 4 日

0 投票

Please try to run the following in the MATLAB Command Window:
>> opengl software
And then try opening the Add on explorer again. It worked for me.
If that works, you can save the preference so that MATLAB always opens with Software OpenGL by running:
>> opengl('save','software')

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2018 年 2 月 15 日

回答済み:

2020 年 9 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by