Too many input arguments. (Dynare old version)

Hello, I am trying to run the RBC model code from Dynamic Macroeconomics: Growth and Fluctuations by Jongwha Lee and Jinill Kim. The code was originally written for Dynare 4.5.7, but I am currently using Dynare 5.5. When I run it, I get an error related to the steady state file.
I encountered the following error messages in the command window:

Starting Dynare (version 5.5).
Calling Dynare with arguments: none
Starting preprocessing of the model file …
Found 16 equation(s).
Evaluating expressions…done
Computing static model derivatives (order 1).
Computing dynamic model derivatives (order 1).
Processing outputs …
done
Preprocessing completed.

Error using rbclinear_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 254)
[ys,params,info] = evaluate_steady_state_file(ys_init,exo_ss,M, options,steadystate_check_flag);

Error in resol (line 77)
[dr.ys,M.params,info] = evaluate_steady_state(oo.steady_state,M,options,oo,~options.steadystate.nocheck);

Error in stoch_simul (line 109)
[~,info,M_,oo_] = resol(0,M_,options_,oo_);

Error in rbclinear.driver (line 235)
[info, oo_, options_, M_] = stoch_simul(M_, options_, oo_, var_list_);

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

Error in Main (line 14)
dynare rbclinear.mod

What should I change in the code to to make it work with the Dynare 5.5 version? I would greatly appreciate your help. Thank you.

Main.m (1.7 KB)
rbclinear.mod (1.3 KB)
rbclinear_steadystate.m (868 Bytes)

Use the following without a steady state file:
rbclinear.mod (1.7 KB)
main.m (1.7 KB)

Dear Professor,

Thank you very much for kindly providing the updated files compatible with the latest Dynare version. I was encountering some errors with Dynare 5.5 (related to send_irfs_to_workspace), so I updated to Dynare 6.3 — and now the code runs perfectly.

I truly appreciate your support. Wishing you a wonderful day!