Cannot open Add-On window on Linux

Hello everybody,
I encounter a strange problem on my Arch Linux (4.8.4-1-ARCH) with MATLAB 9.1.0.441655 (R2016b). If I try to open the Add-On explorer, I get the following error:
After a while, I tried to install the Hardware Package for USB webcams, I got a similar error popup:
Are there well-known problems with popups on Linux? "version -java" gives me the following output:
Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Thanks for your help!!

댓글 수: 7

Luca
Luca 2016년 11월 5일
I have the exact same problem. Also on Arch Linux (Kernel version 4.8.6)
David Tarkowski
David Tarkowski 2016년 11월 22일
편집: David Tarkowski 2016년 11월 22일
What happens if you execute the following commands at the MATLAB command prompt:
>> cd(matlabroot)
>> cd bin/glnxa64
>> !./MATLABWindow -url=http://mathworks.com --disable-gpu
Hey thanks, that gave the error
>> !./MATLABWindow -url=http://mathworks.com --disable-gpu
./MATLABWindow: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
After installing the libselinux package Add-On Explorer works!
Onkar Bhakare
Onkar Bhakare 2018년 8월 1일
편집: Walter Roberson 2018년 8월 1일
when i run above command it gave error
>> !./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
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.
DGM
DGM 2022년 4월 29일
Heh. If ever you manage to get it to work, chances are that you won't be able to type anything or use the menus without endless frustration. Fair warning.

댓글을 달려면 로그인하십시오.

답변 (3개)

Yujin Hu
Yujin Hu 2017년 11월 30일
편집: Voss 2024년 10월 30일

0 개 추천

Hey, I'm using Arch Linux too. It seems that it might be related to some libs. Arch Linux tends to use the latest libs, while MATLAB tends to use the old ones. It's not easy to deal with such [things]. I'm going to install Debian 9 on my server. And if needed, one could just download those add-ons, extract, and copy .m file to somewhere MATLAB could find them, assuming the add-on is just some .m files and .mat file, which is independent with platform.
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')

댓글 수: 2

Daniel Regener Roig
Daniel Regener Roig 2022년 4월 29일
this does not work in Ubunu 21.10, returning:
"Switching to software OpenGL rendering at runtime
on unix is not supported."
Goksan Isil
Goksan Isil 2022년 5월 26일
same here

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

제품

질문:

2016년 10월 28일

편집:

2024년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by