MATLAB 2018a won't start add-on manager in Ubuntu 18.04

10 views (last 30 days)
I currently have MATLAB 2018a installed in Ubuntu 18.04, but have encountered several issues. If I activate the license for a user other than root, MATLAB will get stuck at the blue loading screen and not start (no error messages or anything either), so I activated the software for the root user and have been running it from there. MATLAB will now start and run properly, but I cannot open the add-on manager at all. If I click get add-ons or manage add-ons nothing happens. The Log-in button in the top-right of MATLAB also does not function properly, doing nothing when clicked.
MATLAB otherwise functions corectly and I can run code that doesn't require any add-ons, but I need the add-ons for my work. I have seen several older threads having issues with the add-on manager but none of their solutions help. I tried installing the packages manually using the .mlpkginstall files, but this also does nothing. Many (but not all) functions that involve opening a new window fail. Is there any way to fix this problem, and if not, is there any other way to manually load add-ons into MATLAB without the manager?

Accepted Answer

Soundararajan Ezekiel
Soundararajan Ezekiel on 4 Jun 2018
Edited: Soundararajan Ezekiel on 4 Jun 2018

More Answers (2)

Paul Clark
Paul Clark on 14 Oct 2020
On my redhat 7 box (matlab 2019a), I get:
> opengl software
Error using opengl
Switching to software OpenGL rendering at runtime on unix is not supported.
>>

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
tr
tr on 6 Jul 2022
Yes this solution worked very well thank you. I am using Ubuntu 20.04. The version of Matlab I have is R2016b

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!