- Is there a crash report from MATLAB?
- Is it the exact same release of MATLAB?
- Do you have the RAM and system information for the machines? You might be hitting memory limitations based on the hardware
Why does MatlabR2023b frequently crashes when generating figures
68 次查看(过去 30 天)
显示 更早的评论
-I am using latest matlab model with latest Macbook Air (software up-to-date)
-Codes can correctly generate figures (using plot function), but when I try to close the graph it stops responding
-Exact same codes have been succesfully generating graph last year with R2022a model, on an older mac
-Have tried deleting and re-downloading matlab and did not work.
-Have tried restarting (Matlab and Laptop), did not work
Would be very grateful for any advice on what to do.
(For specific academic reasons I cannot upload code here.)
1 个评论
Devon
2023-11-10
Couple of clarifying questions about the issue:
If you don't get an answer here and you have a valid MATLAB license, you can contact MATLAB support for someone to help troubleshot this issue https://www.mathworks.com/support/contact_us.html
回答(3 个)
Walter Roberson
2023-11-11
-Codes can correctly generate figures (using plot function), but when I try to close the graph it stops responding
Don't close the graphs ;-)
Seriously, though: this is a known problem for MacOS Monteray and Sonoma on Apple Silicon, that if you use the window decorations to close a window that you run into problems. The work-around is to delete() the figure window. Or see the workaround at https://www.mathworks.com/matlabcentral/answers/1808195-matlab-r2022a-freezes-on-macos-monterey-12-5-1-when-closing-a-figure#answer_1324680
0 个评论
Steven Lord
2023-11-10
Searching the Bug Reports for release R2023b for "crash" in the MATLAB product I find seven hits, but none of them seem like they're that close a match for the behavior you described unless you're using an unsupported JRE or a screen event occurs.
Since you say your software is up-to-date, are you using Sonoma? If so see if your crash log files look like the one in this Answers post.
If none of the descriptions in the Bug Reports of what causes the bug to manifest match your configuration or workflow, and you're not using Sonoma, please contact Technical Support directly using this link and send them the crash log files.
0 个评论
Image Analyst
2023-11-10
编辑:Image Analyst
2023-11-10
- Does it actually crash MATLAB itself and you get an operating system error something like "MATLAB has encountered a fatal error and must close" and then either right then, or the next time you start MATLAB, it asks you to submit a crash log?
- OR, does MATLAB keep running but your program crashed (threw an error)?
- OR, does it just appear to hang and nothing changes on the screen anymore? If it's hung in your program, then it could be you're in an infinite loop, or you're doing something really time consuming, or else you're asking it to plot millions of things and it's taking so long to render them all.
How long does it take to run on the other computer where it works?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!