- Reset the preferences. https://www.mathworks.com/matlabcentral/answers/1928900-r2022b-gui-slow-and-laggy-in-debug-mode-settings-or-quick-fix
- Reset "pathdef.m" and rehash toolbox cache
R2022b GUI slow and laggy in debug mode -- settings or quick fix?
25 views (last 30 days)
Show older comments
We updated to R2022b from R2021a some time ago and I had reason to work in the debugger to diagnose some problems. The system is a remote protected server, and I'm working on through a vncserver connected through a VPN.
The issue is that the while in the debugger, the editor intermittently hang for a few seconds. This doesn't happen with R2021a, or at least not in a detectable (and frustrating) way. Obviously, some latency is to be expected given VPN bottlenecks, but it seems amplified and irregular in R2022b.
Outside of debug mode, everything is A-OK including interaction with graphics so I think it's specific to the editor in debug mode that changed from previous versions.
I'm wondering whether there are settings (e.g. fully disabling the mouseover inspector popups in the editor) that I can change and reduce the latency of the interface.
(To be clear here, there is no lag/hang in the execution. I"m talking about typing, selecting, moving the cursor, etc in the script/function text editor.)
1 Comment
Yash Srivastava
on 27 Mar 2023
Edited: Yash Srivastava
on 27 Mar 2023
Please try following workarounds:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath
Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!