I use the -logfile option and the diary command to track the progresses of my codes. In fact, sometimes during the runs (that take days) MATLAB graphical interface freezes and the only way to check the progress is to look at the output in the command window. However, I realized that the most recent versions (2009+) write the logfile and the diary only when the file is finally closed. While the file is still open, it is just a 0kb empty file. For the diary, I solved adding commands
that close and reopen the diary, so it is written down, but for the logfile there is no solution.
Is there anybody that can help?
Besides, if anybody can tell me a procedure to "unfreeze" the user interface without aborting the computation, it would be great! (I use WinXP and Win7).