Warning: Initializing MATLAB Graphics failed.
7 views (last 30 days)
Show older comments
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
There is no screenpixelsperinch property on the Root class.
> In hgrc (line 163)
In initprefs (line 11)
In matlabrc (line 94)
How can I modify the screenpixelsperinch proptery on the Root class in ubuntu to recover this error? Some properties are missed and the functions above can't work properly because of that missing properties.
https://www.mathworks.com/help/matlab/ref/matlab.ui.root-properties.html#buc8_0n-ScreenPixelsPerInch
As I understood from the above link, after R2015b versions, we should adjust the values. But I don't know where are the required files or which commands will be executed. Could you please help me?
5 Comments
Ismail Alperen Akar
on 7 Mar 2021
Hi Musa
I have the same problem. Could you fix this problem?
Thanks.
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!