Cannot open Add-On window on Linux

47 views (last 30 days)
Pascal Zingg
Pascal Zingg on 28 Oct 2016
Commented: Goksan Isil on 26 May 2022
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 Comments
DGM
DGM on 29 Apr 2022
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.

Sign in to comment.

Answers (3)

Yujin Hu
Yujin Hu on 30 Nov 2017
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 shit. 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.

Joakim Lindblad
Joakim Lindblad on 27 Feb 2018

Jay Vaidya
Jay Vaidya on 4 Sep 2020
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 Comments

Sign in to comment.

Categories

Find more on Platform and License in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by