I would like to save all the commands I enter in a given session of MATLAB. I
can place a Diary in startup.m and this works most of the time, but if MATLAB happens to crash, my diary does not save. It would be nice to have this file saved automatically periodically somehow.
Best Answer