Simulink is not opening on ubuntu20.04. Loading indefinitely

10 visualizaciones (últimos 30 días)
I was on Matlab 2021a. It was working few days ago.
Now matlab is working, but simulink is not opening.
I use
matlab -desktop -useStartupFolderPref
I tried reinstalling 2021a, it didn't resolve.
I tried installing 2023a, same problem.
I tried changing default printer, it didn't resolve.
As soon as I click Simulink buton, I see following lines on terminal. And then matlab tries to open Simulink indefinetely.
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
This plugin does not support raise()
Can somebody help me opening simulink. My doubt, it could be due to some 'gl' pkg.
The below command also don't work
jai@jai:~$ matlab -desktop -useStartupFolderPref -softwareopengl
MATLAB is selecting SOFTWARE OPENGL rendering.
Gtk-Message: 16:01:51.873: Failed to load module "canberra-gtk-module"
This plugin does not support propagateSizeHints()
This plugin does not support propagateSizeHints()
This plugin does not support raise()

Respuesta aceptada

JAI PRAKASH
JAI PRAKASH el 26 de Jun. de 2023
Editada: JAI PRAKASH el 26 de Jun. de 2023
Commenting below line in .bashrc solved the problem.
#export QT_QPA_PLATFORM=offscreen

Más respuestas (1)

Vandit
Vandit el 27 de Jun. de 2023
Hi,
It seems that you are encountering issues with opening Simulink in MATLAB2021a. You may refer to the below link in order to solve the problem:
Here are few more suggestions to help you resolve the problem:
  • Update Graphics Drivers: Visit the website of your graphics card manufacturer and download the latest drivers for your specific graphics card model.
  • Disable Antivirus/Firewall: Temporarily disable the real-time protection or firewall features and then try opening Simulink in Matlab to see if the issue is resolved.
If the issue persists, contact MathWorks support for installation related help.
Hope this helps.
Thankyou

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by