Editor lagging/hanging in displaying .m/.mlx files
10 次查看(过去 30 天)
显示 更早的评论
I've noticed a delay in m-files and Live Scripts displaying in the editor. The tabs are there, but they appear blank for some time period. The lag time varies from none to up to 30 seconds.ventually the text displays and it is business as usual. These are not big files at all.
I already increased the Java heap memory per another answered post. That seemed to help, but now I am back to lagging.
It seems to be the worst when I have just started MATLAB (it has initialized and says "Ready"). The variance in timing makes me think it is related to my system (i.e. memory, etc.), but everything else on my machine is running smoothly.
Anyone else experience this?
0 个评论
回答(1 个)
Divyanshu
2025-2-10
编辑:Divyanshu
2025-2-10
If increasing the Java heap memory does not help in resolving the issue, then probably if your current working directory is on a network and has multiple files, this can introduce lag because MATLAB keeps in memory all files that were open in editor and reopen it next time when you start MATLAB again.
You can refer the following MATLAB answer thread for details:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!