Simulink is not opening on ubuntu20.04. Loading indefinitely

6 Ansichten (letzte 30 Tage)
JAI PRAKASH
JAI PRAKASH am 19 Jun. 2023
Beantwortet: Vandit am 27 Jun. 2023
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()

Akzeptierte Antwort

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

Weitere Antworten (1)

Vandit
Vandit am 27 Jun. 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

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by