Matlab keeps shutting down while my program is running
Mostra commenti meno recenti
Hi! I've been running the same image transformation program for a while, but for some reason it keeps crashing today. There's no error message; my code runs for like 5 minutes and then before completion, the Matlab program quits.
I'm running Matlab_R2022a on macOS Monterey 12.3.1. Any advice would be appreciated.
2 Commenti
VBBV
il 18 Mag 2022
did you check if there are any "exit" or "quit" commands in your program ?
Aaron Ouyang
il 18 Mag 2022
Risposte (1)
Walter Roberson
il 18 Mag 2022
Modificato: Walter Roberson
il 18 Mag 2022
0 voti
3 Commenti
Khristina Samoilova
il 18 Mag 2022
Same issue here. I am trying to run the same program I heve been running for weeks and today Matlab just crashes.
I have Matlab_R2021a on macOS Monterey 12.3.1
I checked the temperature and RAM as you suggested.
Aaron Ouyang
il 18 Mag 2022
Walter Roberson
il 19 Mag 2022
I think it might be theoretically possible for MATLAB itself to crash from running out of memory. Normally running out of memory would be noticed at the computation level, and would result in an uncatchable exception . However, in principle the amount of memory in use could be almost at the limit, and then when MATLAB itself needed memory (such as to open a variable in the variable browser) then potentially MATLAB itself could crash, I suspect.
But that does not sound like what is happening to you.
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!