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

5 ビュー (過去 30 日間)
Deng Jie
Deng Jie 2019 年 9 月 20 日
回答済み: Scott Minkin 2020 年 5 月 19 日
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

採用された回答

Scott Minkin
Scott Minkin 2020 年 5 月 19 日
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.

その他の回答 (2 件)

Ben Liu
Ben Liu 2019 年 10 月 8 日
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 2019 年 11 月 12 日
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...

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by