Anyone else having issues with MATLAB 2023a hanging after some period of inactivity?
86 ビュー (過去 30 日間)
古いコメントを表示
I'm running a Live Script that reads data collected from lab test equipment saved as csv types. I process the data, do some statistical analysis, and plot a number of figures. If I then switch to do something else, and come back to it, if I try to run it again, it doesn't run "right". For instance, I point the script to other datafiles, but the figures in the live script window are still the figures from the old datafiles (even though the script seems to have run). It just doens't update the new figures.
Then, when I try to exit by typing exit so I can relaunch the program, It stays in "busy" mode and never quits. I then have to go to the task manager to end the task.
I've updated my Intel® UHD Graphics driver to version 31.0.101.2125 dated 5/24/2023 and still have the issue. I'm running MATLAB version:
MATLAB Version: 9.14.0.2206163 (R2023a)
MATLAB License Number: 41106910
Operating System: Microsoft Windows 10 Business Version 10.0 (Build 19045)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
version R2023b does the same thing, but, I don't remember ever having this issue with R2022.
Is anyone else having similar issues?
5 件のコメント
Christopher
2023 年 10 月 9 日
I am having similar problems. As I work on a live script at some point, I may receive random code warnings and the script runs "wrong." For example, when generating a plot, I will receive a plot previously generated from a different part of the live script and code warnings don't seem to be real. I must use task manager to force quit MATLAB. When I load it up again everything runs properly for a while. My problems started after the recent update.
16 GB RAM, Intel(R) Core(TM) i7-10750H CPU, RO2023a Update 4 (9.14.0.2306882)
回答 (2 件)
Image Analyst
2023 年 8 月 9 日
Happens to me sometimes. Like if I and click on MATLAB after not using it for a few hours, it seems to take a while to "wake up" even though I had just been using a web browser with not much delay right before. I figured it was something to do with my computer (only 8 MB with 95% being used) rather than MATLAB. Like the computer had swapped MATLAB out of memory and had to swap it back in or something like that. When I had my 32 GB RAM computer, I don't recall much delay on getting MATLAB to respond.
Dan
2024 年 5 月 29 日
Thanks for brining this topic up.
I'm having issues with 2023b hanging all the time ... I haven't correlated it to any particular action like returning to MATLAB after being in another app for a bit, but I will try to become more attuned to the potential cause now. I just had the issue now and all I did was open MATLAB, go to another app, and then come back at which point I had to wait for 30 seconds of 'swirley' ...
2 件のコメント
Iain Collings
2024 年 5 月 30 日
I have to wait for 30sec to 1 min (sometimes more) every time I run a script. It's a major pain! I can't seem to find the solution.
Image Analyst
2024 年 5 月 30 日
Bring up task manager (control-shift-Esc if in Windows) and look at the row for MATLAB. After you start your script, do you see any increase in the CPU usage for MATLAB? How about any of the other apps? Sort the column by CPU usage and try it again and see what the computer is spending all its time on during those 30 seconds.
Put this line
fprintf('Beginning to run %s.m at %s...\n', mfilename, datetime('now','TimeZone','local','Format','HH:mm:ss'));
and this as the last line in your script
fprintf('Done running %s.m at %s...\n', mfilename, datetime('now','TimeZone','local','Format','HH:mm:ss'));
to see exactly when your script starts running after you click the green run triangle button.
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!