Simulink is not opening on ubuntu20.04. Loading indefinitely

10 visualizzazioni (ultimi 30 giorni)
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()

Risposta accettata

JAI PRAKASH
JAI PRAKASH il 26 Giu 2023
Modificato: JAI PRAKASH il 26 Giu 2023
Commenting below line in .bashrc solved the problem.
#export QT_QPA_PLATFORM=offscreen

Più risposte (1)

Vandit
Vandit il 27 Giu 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

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Tag

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by