Initializing MATLAB Graphics failed in Linux.

조회 수: 6 (최근 30일)
Ismail Alperen Akar
Ismail Alperen Akar 2021년 3월 7일
답변: Sai Veeramachaneni 2021년 3월 11일
Hi
I just installed R2020b on Linux and when I start Matlab I get this error;
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:hg:InvalidProperty
Unrecognized property screenpixelsperinch for class Root.
> In hgrc (line 165)
In matlab.graphics.internal.initialize (line 15)
I tried things like
matlab -softwareopengl
export GTK_PATH=/usr/lib/x86_64-linux-gnu/gtk-2.0
but did not work for my problem and there is one more thing but I think it's not caused this graphic problem. When I start Matlab
Failed to load module "pk-gtk-module"
I get this error too in the terminal.
  댓글 수: 5
Ismail Alperen Akar
Ismail Alperen Akar 2021년 3월 8일
I updated drivers and error still exist. I don't know how to figure it out. Thanks for your help.
Walter Roberson
Walter Roberson 2021년 3월 8일
I recommend contacting Mathwork Support for free installation assistance.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sai Veeramachaneni
Sai Veeramachaneni 2021년 3월 11일
Hi,
Your issue might be related to this known bug. I suggest you to contact support for startup issues
Thanks

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by