Interrupted running

Dear Professor,
How to find an interrupted running model in Matlab.

Best regards

What do you mean with

?

I was running a model that was almost ready to finish. My computer was updated automatically and I lost everything that was running. So, I was wondering if there is a way to recover what was working. I’m running a model with 2,000,000 draws.
Thanks Professor.

See the manual on mh_recover

1 Like

Dear Professor,

I encounter this error when I try to recover the model with the following .mod

Error: File: recover.m Line: 346 Column: 1
At least one END is missing: the statement may begin here.

Error in dynare (line 235)
evalin(‘base’,fname) ;

recover.mod (8.3 KB)

base model

mythes.mod (7.2 KB)

Thanks

  1. You have if-clauses without the corresponding end.
  2. Why are you trying to copy the unit test of the mh_recover-function from our testsuite? That is not what you actually want to do.

I will try yet another way.
Thank you, Professor.