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

7 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Scott Minkin
Scott Minkin el 19 de Mayo de 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.

Más respuestas (2)

Ben Liu
Ben Liu el 8 de Oct. de 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 el 12 de Nov. de 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...

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by