MATLAB - Force quit (CTRL + C) not working?

I am running a rather expensive genetic algorithm with MATLAB. The code runs for 3 whole days, and I'm sure it got stuck somewhere because it does not print progress information for the purpose of debugging.

Now I want to stop this. I did CTRL + C but no luck. “Busy” is displayed in the lower left corner of the window.

I can't just get out of all MATLAB because I need to find out where it got stuck by checking the variables in the variables window.

Given that CTRL + C is not working, how can I

  • stop execution, OR
  • save variables for verification purposes?
+4
source share
1 answer

ctrl-C , - , , .

, crtl-C , COMSOL.

, , Matlab , fprintf.

+2

Source: https://habr.com/ru/post/1545600/


All Articles