Simulink is not opening on ubuntu20.04. Loading indefinitely

8 views (last 30 days)
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()

Accepted Answer

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

More Answers (1)

Vandit
Vandit on 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

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!