Installed matlab2019b successfully but can't open it, can someone help me out?
5 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
采纳的回答
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.
0 个评论
更多回答(2 个)
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.
0 个评论
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...
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!