I’m currently writing a master thesis based on a modified version of the model in Gertler and Karadis article from 2011 “A model of unconventional monetary policy”.
I want to solve some steady state values in an external Matlab steady state file. To do so, I need to pin down total production Y, which depends on the endogenous variables K and L. However, I don’t know how to provide Matlab with the starting/equilibrium values of K and L, so I currently get the errors seen below. Is there any way around this? I have attached my .mod file and _steadystate.m file:
Undefined function or variable ‘K’.
Error in gdyn_steadystate (line 26)
Error in evaluate_steady_state_file (line 52)
[ys,check] = h_steadystate(ys_init, exo_ss);
Error in evaluate_steady_state (line 212)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, options,steadystate_check_flag);
Error in resol (line 104)
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,~options.steadystate.nocheck);
Error in check (line 73)
[dr,info,M,options,oo] = resol(1,M,options,oo);
Error in gdyn (line 438)
oo_.dr.eigval = check(M_,options_,oo_);
Error in dynare (line 235)