Problem solving the steady_state

Hi,

I’m using Dynare 5.4 and I’m trying to solve the steady state of a RBC model by using the _steadystate.m file. Nevertheless, I can’t understand why the software returns the following errors when running the steady state with the command “dynare probset1sol”:

Error using eval
Argument must be a text scalar.

Error in probset1sol_steadystate (line 31)
** eval([ ‘M_.params(’ num2str(iter) ') = ’ M_.param_names(iter,: ) ‘;’ ])**

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 steady_ (line 55)
[steady_state,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);

Error in steady (line 80)
[oo_.steady_state,M_.params,info] = steady_(M_,options_,oo_);

Error in probset1sol.driver (line 180)
steady;

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

probset1sol.mod (1.1 KB)
probset1sol_steadystate.m (1.2 KB)

Since I think that the equations are set in the right way, I cannot find the error.
Thank you in advance for your help.

Part of your file was only compatible with Dynare 4.x. Try
probset1sol_steadystate.m (1.2 KB)

Some errors have cancelled out and dynare has computed the residuals of the static equations. The new errors are the following:

Error using print_info
The steadystate file did not compute the steady state

Error in steady (line 102)
** print_info(info,options_.noprint, options_);**

Error in probset1sol.driver (line 180)
steady;

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

Thank you again!

I think both your model and the steady state had various mistakes. Please have a look at
probset1sol_steadystate.m (1.0 KB)
probset1sol.mod (1.1 KB)

It works. Thank you a lot