Blank editor window and copy-paste problems

15 次查看(过去 30 天)
Running 2023b on MacOS (Apple Silicon).
MATLAB Version: 23.2.0.2428915 (R2023b) Update 4
======
I sometimes open a file to edit and the editor window remains blank for some time. Perhaps 30 seconds. Then the text appears.
Perhaps related, sometimes I right-click to copy or paste, and again there is a long lag. The system is unresponsive and then perhaps 30 seconds later the paste occurs.
Several of us in my lab have seen this behavior.
In searching the support pages, I see similar reports for several years back, but no clear fix in the comments. Is there an authoritative answer. Surely Copy/Paste must work by now. And the long lag for opening an m-file must have been fixed, too. Right?
  2 个评论
DGM
DGM 2024-3-4
It's probably unrelated and totally unhelpful, but I have periodic lag spikes where MATLAB will momentarily eat all 6 CPU cores randomly before it decides to do whatever I commanded it to do. I find that the behavior only manifests after MATLAB has been open for a few days, and that once it starts, it rapidly gets worse, eventually resulting in MATLAB cyclically loading all cores even while idle. I've found that that restarting MATLAB is the only fix. That said, I'm running R2019b on Linux, and it's not restricted to only happening while using the clipboard. This sounds like a Mac thing, but I figured I'd blab anyway. Maybe paying attention to CPU utilization and session time could be useful in troubleshooting.
Brian Wandell
Brian Wandell 2024-3-4
Thanks. I really hope people from Mathworks respond. Too many ways these problems can arise. You and I can guess, but I bet they have seen the problem for years and know. They may not have a fix, but they know about it.

请先登录,再进行评论。

回答(1 个)

TED MOSBY
TED MOSBY 2024-4-8
Hi Brian,
I came across a very similar MATLAB community question which has an accepted answer and I recommend you go through all the comments and answers.
A possible fix for this is to change your active directory to C:/.
Here is the link to the accepted answer:
If this doesn’t work, I would want to know more about your device specifications and is it the same for all other people facing this issue. Mentioning additional info about the memory occupied and type of files in your current directory would help.
Hope this helps!

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by