Warning: Initializing MATLAB Graphics failed.

56 ビュー (過去 30 日間)
Mert Ecevit
Mert Ecevit 2025 年 9 月 21 日
コメント済み: Mert Ecevit 2025 年 10 月 17 日 14:51
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 matlab.ui.Root.
> In hgrc (line 225)
In
When I first initialize the 2025b version on Ubuntu Linux, this error occured, I saw many posts about this are there any solutions for this issue? I tried starting with command:
matlab -softwareopengl
  3 件のコメント
Mert Ecevit
Mert Ecevit 2025 年 9 月 21 日

Yes, I installed latest Ubuntu updates. There are not problems about that.

Star Strider
Star Strider 2025 年 9 月 21 日
When all else fails, Contact Support.

サインインしてコメントする。

採用された回答

Spoorthy Kannur
Spoorthy Kannur 2025 年 10 月 15 日 6:42
Hi Mert,
This can occur due to compatibility issues with graphics drivers, system libraries, or specific MATLAB settings. I understand that you’ve already updated Ubuntu to the latest version.
Here’s how you may resolve:
1. A graphic properties reset with:
reset(groot)
2. If this doesn’t work – try resetting MATLAB Preferences (rename the folder and then restart MATLAB):
mv ~/.matlab/R2025b ~/.matlab/R2025b_backup
3. OR See if it works in MATLAB 2025a or an earlier version.
If any of these don’t resolve your issue, please share the following:
  • Exact version of Ubuntu you are using
  • Check your logs( ~/.matlab/R2025b) and share the complete error message as well.
  1 件のコメント
Mert Ecevit
Mert Ecevit 2025 年 10 月 17 日 14:51

Thank you, this did work

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by