Subscript indices must either be real positive integers or l

Dear All,
thanks for the help I received a month ago or so…I’m again struggling with a relatively simple code, which is not running due to the following problem:

??? Subscript indices must either be real positive integers or logicals.

Error in ==> dr1 at 139
b = jacobia_(:,k0);

Error in ==> resol at 56
[dr,info] = dr1(dr,check_flag);

Error in ==> stoch_simul at 47
[dr_, info] = resol(ys_,0);

Error in ==> BARATTIERI_RBC_REV00 at 206
info=stoch_simul(var_list_);

Error in ==> dynare at 26
evalin(‘base’,fname) ;

I attach the code…does somebody have any idea???

thanks a lot

Alessandro
BARATTIERI_RBC_REV00.mod (2.53 KB)

…sorry…here the code
BARATTIERI_RBC_REV00.mod (2.53 KB)

hi barattie did you eventually solve this problem? I am having the same problem.

Hi BARATTIE

I tried to run your code and the message Dynare gives me is related to the indeterminacy of your model

??? Error using ==> print_info at 46
Blanchard Kahn conditions are not satisfied: indeterminacy

Error in ==> stoch_simul at 28
print_info(info);

Error in ==> BARATTIERI_RBC_REV00 at 311
info = stoch_simul(var_list_);

Error in ==> dynare at 88
evalin(‘base’,fname) ;