I am getting the following error after running a simulation and I cannot work out what the problem is:
Undefined function or variable ‘z_epsZ’.
Error in cycle_irf (line 971)
plot((z_epsZ),‘b’,‘Linewidth’,2);axis tight;grid on; title(‘Tech. shock’);
Error in dynare (line 180)
Error in run (line 56)
dynare cycle_irf; load options
I would greatly appreciate some help on where this is coming from and how to fix it. Please run the run.m file in the attached folder to see the error. Many thanks.
Cycle_irf_simulation_forum.zip (2.3 MB)