MATLAB: Lost results after a weekend

crashMATLAB

On Friday, I sent a program to a university server. It is a long calculation. The calculation crashed at the weekend and I lost all results, not just a part. What can I do to prevent this?
P.S. My English is not so good. Have you also a forum in german?

Best Answer

There are a couple of different reasons for crashes and also of programming techniques you can use. See the following Technical Support solution:
In your case, this part may be the most relevant one:
"To mitigate the negative effects of an interrupted MATLAB computation, the primary countermeasure is saving intermediate results during the computation and prepare the code to be able to reload the saved results."
Related Question