Simulink and other toolboxes hanging on right click or UI interaction
5 次查看(过去 30 天)
显示 更早的评论
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)
回答(1 个)
Vidhi Agarwal
2025-7-15
Hi @Quentin
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!
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!