Simulink and other toolboxes hanging on right click or UI interaction

4 visualizaciones (últimos 30 días)
Quentin
Quentin el 2 de Jun. de 2025
Comentada: Quentin el 17 de Jul. de 2025
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
Quentin
Quentin el 3 de Jun. de 2025
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.
Quentin
Quentin el 3 de Jun. de 2025
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)

Vidhi Agarwal
Vidhi Agarwal el 15 de Jul. de 2025
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
Quentin
Quentin el 17 de Jul. de 2025
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 Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by