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.
(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)
Error in Bench (line 616)
Error in dynare (line 223)
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.