Initializing MATLAB Graphics failed in Linux.
    10 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Ismail Alperen Akar
 el 7 de Mzo. de 2021
  
    
    
    
    
    Respondida: Sai Veeramachaneni
    
 el 11 de Mzo. de 2021
            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 comentarios
  Walter Roberson
      
      
 el 8 de Mzo. de 2021
				I recommend contacting Mathwork Support for free installation assistance.
Respuestas (1)
Ver también
Categorías
				Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


