Anyone else having issues with MATLAB 2023a hanging after some period of inactivity?
81 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Christopher
le 9 Oct 2023
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)
Réponses (2)
Image Analyst
le 9 Août 2023
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
le 29 Mai 2024
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 commentaires
Iain Collings
le 30 Mai 2024
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
le 30 Mai 2024
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.
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!