I tried to surf plot a discrete Laplacian matrix operator and it has broken MATLAB... I managed to close the figure, but the command line is continuously typing
"> In closereq at 24 Warning: Too many objects created while deleting axes children; removing DelectFcn of all descendants to prevent infinite loop"
It outputs this a few times every second and I can't terminate it! Normallt I'd just shut MATLAB down but I spent 2 days on a simulation and I haven't saved the results yet. Does anyone know a way to make it stop?
Ctrl+C works when the command window is the "current" or "chosen" window of MATLAB. You need to click on this window before doing ctrl+C.
You can save your data, by doing somehting like
in the middle of the loop where your simulation is running so that the data won't be lost. Your data ofcourse over-writes itself everytime you run
If your simulation is very long, you can do a smarted way of saving the data, by saving it every 5 min under different names for example, but watch not to flush your workspace memory.
When Ctrl-C does not help, it seems like Matlab has reached an infinite loop. When you do not have access to the command line, you have to kill the Matlab session, such that the 2 days of work are lost.
Sorry. It was a bad idea not to save the intermediate data frequently.