Hello,
my computer is macOS 10.13.6. I installed MATLAB 2018a and Dynare 4.5.5. When I run a Dynare code, it comes out error. This code can be downloaded with following link.
[https://www.frbsf.org/economic-research/files/wp2012-13supplement_replication_files.zip]
(Mr. Mark Spiegel put it on his website.)
Specifically, when I typed ‘dynare Bench’ or ‘dynare Flex’, it showed ‘Preprocessing completed’ and the following words:
Reference to non-existent field ‘ghx’.
Error in evaluate_planner_objective (line 44)
Gy = dr.ghx(nstatic+(1:nspred),:);
Error in ramsey_policy (line 57)
oo_.planner_objective_value =
evaluate_planner_objective(M_,options_,oo_);
Error in Bench (line 616)
ramsey_policy(var_list_);
Error in dynare (line 223)
evalin(‘base’,fname) ;
Then I try another computer with Windows system, using MATLAB2018a and Dynare 4.5.5. It comes out same error.
But I try it with dynare 4.4.3 and there is no error.
Also, I ask my two classmates to use their computer and run the same code ,they get no error too.
I use many different Dynare versions in MaxOS, but nothing changes. I am wondering whether the issue is regarding MacOS or Dynare version.
Thank you!