Unable to use _steadystate.m file

Hi everyone,
I am trying to replicate the model of Orsi (2014). I’m having problems to run the _steadystate.m file and I dont know why (I guess is a problem of my matlab version(2021) because it works in 2016 version).
I keep getting this error:
Error using orsi_dynare_exp_steadystate
Too many input arguments.

Error in evaluate_steady_state_file (line 49)
[ys,params1,check] = h_steadystate(ys_init, exo_ss,M,options);

Error in evaluate_steady_state (line 210)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,
options,steadystate_check_flag);

Error in resid (line 66)
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,0);

Error in orsi_dynare_exp.driver (line 517)
resid(1);

Error in dynare (line 293)
evalin(‘base’,[fname ‘.driver’]) ;

I’d really appreciate if any of you could help me figure this out.
orsi_dynare_exp.mod (15.1 KB)
orsi_dynare_exp_steadystate.m (5.0 KB)

Hi federico12,

have a look at this post: Code not working after updating Dynare to 4.6.0

And please let us know if it solved your problem or not :wink:

Try orsi_dynare_exp_steadystate.m (5.0 KB)

1 Like

Yes, it solved my problem!
Thank you so much!