Simulink and other toolboxes hanging on right click or UI interaction

I'm having a weird problem that I never seen before in 15 years of Matlab.
I started a new job, got a new laptop (13900HX, intel Iris graphics AND RTX 4000 workstation GPU), installed Matlab, and instantly I run into issues.
Everything hangs: open model, hangs for ages. Opening Simulink requirements, hangs. Changing requirements in the UI, hangs. In Simulink, right clicking hangs for about 10sec, then trying to navigate the context menu hangs for another 10s at each selection. I've never seen that before.
Our IT tried a few things, change opengl options, reinstalled drivers, etc. Nothing helps. Any idea?
VER:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.9.0.2037887 (R2020b) Update 8
MATLAB License Number: 41255579
Operating System: Microsoft Windows 11 Pro Version 10.0 (Build 26100)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.9 (R2020b)
Simulink Version 10.2 (R2020b)
Embedded Coder Version 7.5 (R2020b)
MATLAB Coder Version 5.1 (R2020b)
Simulink Coder Version 9.4 (R2020b)
Simulink Coverage Version 5.1 (R2020b)
Simulink Requirements Version 1.6 (R2020b)
Simulink Test Version 3.3 (R2020b)
Stateflow Version 10.3 (R2020b)

6 comentarios

Maybe those hangs correspond to instances where a license is being checked for.
Are you using a local license, or are you using a license server?
If you are using a license server, do you connect to the license server by way of a VPN ?
That sounds plausible, but I don't think that's the case here. I doubt it's checking the license every time you open a block. I am not connected to a VPN, and it does the same with no internet at all. I expect it to work correctly offline!
I am not using a server either, it's a local individual license.
Hi Quentin,
An additional aspect is that Windows 11 was released in 2021, so it is not an operating system officially supported with R2020b, see also https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/support/sysreq/files/system-requirements-release-2020b-windows.pdf.
While I suppose you have good reasons for a fresh install of R2020b, it may be worth installing a more recent release to see if you encounter these issues as well or not.
In either case, I would then recommend reaching out to your contacts at MathWorks or the Technical Support team via https://www.mathworks.com/support/contact_us.html for further assistance.
Best wishes,
Harald
Hi Harald,
Thanks for your reponse. Unfortunately, I cannot control what OS my company runs (win 10 won't be supported for much longer anyway), and we have to use 2020b as that's the version the project has been validated with.
I will contact the support.
Also, I have two other colleagues with similar laptops that have similar issues, so it must be something to do with our anti-virus or something.
I checked and it seems to be waiting on network I/O when Simulink is on its hung state. Anything we can do about that?

Iniciar sesión para comentar.

Respuestas (1)

Following steps might help you in resolving the issue:
  • Antivirus/Security Software: Enterprise antivirus can slow down MATLAB/Simulink, especially when opening models or files.Try asking IT to whitelist MATLAB’s installation and working folders in your antivirus settings.
  • Network Drives/User Profile Redirects: If your Documents, AppData, or Temp folders are redirected to network drives, MATLAB can hang. Run the following commands to check the paths of preference directory and temp directory:
matlab
disp(prefdir)
disp(tempdir)
Make sure these are local paths, not network locations.
  • Graphics Compatibility: Old MATLAB versions can have issues with new hardware and Windows 11. Try the following commands in MATLAB:
matlab
opengl('save','software')
Then restart MATLAB.
  • Simulink Network Access: Some Simulink features may try to access the internet or blocked domains, causing timeouts. Try running MATLAB offline (no network) and see if the issue changes.
  • If these steps don’t help, contact MathWorks Support: https://www.mathworks.com/support/contact_us.html
Hope this helps!

1 comentario

We tried disabling the antivirus, it didn't help, plus it's a ISO standard violation so we can't really do that.
Everything is local, so no network access.
We tried different opengl modes, it doesn't change anything.
Mathworks cannot help me, their excuse is that 2020b is not officially compatible with Win11, so they do not want to help.

Iniciar sesión para comentar.

Categorías

Más información sobre Installing Products en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 2 de Jun. de 2025

Comentada:

el 17 de Jul. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by