Page 1 of 1

Attempt to reference field of non-structure array.

PostPosted: Wed Jul 15, 2015 5:41 pm
by newbie_dynar
Dear All,

i am quite new to this program so I apologise if i ask a trivial question. I tried to find an explanation for the problem i am facing but without luck. As per attached code, when i try to run I obtain the following mistake. I am totally clueless on its reason. Did i do some mistake on the computation of hte steady state ratio? Are the parameters wrong?

Thanks for any help,
Best
Paola

Attempt to reference field of non-structure array.
Error in list_of_parameters_calibrated_as_NaN (line 32)
idx = find(isnan(M_.params));
Error in test_for_deep_parameters_calibration (line 32)
plist = list_of_parameters_calibrated_as_NaN(M_);
Error in steady (line 33)
test_for_deep_parameters_calibration(M_);
Error in macro_project_hope (line 260)
steady;
Error in dynare (line 180)
evalin('base',fname) ;
>>

Re: Attempt to reference field of non-structure array.

PostPosted: Thu Jul 16, 2015 6:31 am
by jpfeifer
Do not put
Code: Select all
clear all;

in your mod-file. It will erase important variables created by Dynare. Dynare automatically does a clear all at the beginning