Steady State Error

dyn_main.mod (11.7 KB) dyn_main_steadystate.m (3.2 KB)
Johannes,
You’re right. Sorry. I should have explored the example better before asking in the forum.
I upload now the new steadystate file and the main mod-file. I get a new error saying

Error using eval
Undefined function or variable 'c'.

I have a two-country model and I have c@, which takes name cH and cF. May the problem come from this fact? How could I make the steady state file account for it?
You may notice that, compared to the example, I changed {} by () because I was getting another error: Brace indexing is not supported for variables of this type. Can I safely do this change?

The full error I get is:

Error using eval
Undefined function or variable ‘c’.

Error in dyn_main_steadystate (line 133)
eval([‘ys(’ int2str(ii) ') = ’ varname ‘;’]);

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 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 dyn_main.driver (line 768)
steady;

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

I guess this post might be better allocated in “Undefined function or variable 'mc'” or a similar one…