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!