Page 1 of 1

Error: Reference to non existent field

PostPosted: Sun Sep 26, 2010 8:30 pm
by vrv
Hi, I am trying to calibrate and simulate a simple non deterministic model.
I tried to introduce the model with both specifications, in levels and in logs, however I get the same error message.

??? Reference to non-existent field 'maximum_lag'.

Error in ==> GHH_ps1_levels at 146
oo_.endo_simul=[oo_.steady_state*ones(1,M_.maximum_lag)];

Error in ==> dynare at 132
evalin('base',fname) ;

I join to this message both .mod files.
I am using Dynare 4.1.2 for mac, and matlab 7.1 .

Thank you in advance for your help.
Best Regards.

Re: Error: Reference to non existent field

PostPosted: Mon Oct 04, 2010 1:51 pm
by jpfeifer
Don't set a clear at the beginning of the file. Dynare does this automatically. If you set it by hand, Dynare clears the workspace after preprocessing and the mentioned structure is deleted, resulting in the error.