Installed matlab2019b successfully but can't open it, can someone help me out?

5 Ansichten (letzte 30 Tage)
Hi there:
I just installed the MATLAB2019b on the ubuntu1604 but when i tried to open it in the terminal:
cd /usr/local/MATLAB/R2019b/bin
./matlab
the matlab window just showed up for one second or two with lots of yellow warnings , and then suddenly crashed and got closed, leaving the terminal with these msgs:
Gtk-Message: 16:45:23.114: Failed to load module "overlay-scrollbar"
Gtk-Message: 16:45:23.114: Failed to load module "unity-gtk-module"
Gtk-Message: 16:45:23.124: Failed to load module "canberra-gtk-module"
段错误 (核心已转储) // which means "segment fault (core dumped)"
I googled and found nothing about the problem nor the related solution. I installed twice and the problem sitll appears ,so anyone can help me out? Thanks a lot!
terminal msgs.png

Akzeptierte Antwort

Scott Minkin
Scott Minkin am 19 Mai 2020
For R2019b running on Ubuntu 16.04:
$ export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
$ export LIBOVERLAY_SCROLLBAR=0
$ export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules
The LIBOVERLAY_SCROLLBAR and GIO_EXTRA_MODULES environment variables do not need to be set in later versions of Ubuntu.

Weitere Antworten (2)

Ben Liu
Ben Liu am 8 Okt. 2019
you can try this:
sudo apt-get install libcanberra-gtk-module
if it doesn't work, try another one:
sudo apt-get install libcanberra-gtk-module:i386
good luck to you.

allyssonfd
allyssonfd am 12 Nov. 2019
I had the same issue, and mine was due to licence. I Run ./activate_matlab.sh at Matlab folder, and selected an individual licence instead of designated (I had these two options, I don't know if it's your case).
It worked for me...

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by