Too many input parameters

dear all:
there are something wrong with my codes about bgg model.
Dynare.zip (213.2 KB)

错误使用 bgg_rbc_steadystate
输入参数太多。

出错 evaluate_steady_state_file (第 49 行)
[ys,params1,check] = h_steadystate(ys_init, exo_ss,M,options);

出错 evaluate_steady_state (第 254 行)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M,
options,steadystate_check_flag);

出错 steady_ (第 55 行)
[steady_state,params,info] =
evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);

出错 steady (第 80 行)
[oo_.steady_state,M_.params,info] = steady_(M_,options_,oo_);

出错 bgg_rbc.driver (第 229 行)
steady;

出错 dynare (第 281 行)
evalin(‘base’,[fname ‘.driver’]);
how can i do next? many thanks!!

This looks like an incompatibility in the Dynare version. The code seems to be written for Dynare versions before 4.6. Try 4.5.7.

yes, dear professor! Besides it,I have modified the codes of steady-state.m and it also works! Many thanks!