Page 1 of 1

Subscript indices must either be real positive integers or l

PostPosted: Thu Jun 12, 2008 4:43 pm
by BARATTIE
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

attachment

PostPosted: Thu Jun 12, 2008 6:29 pm
by BARATTIE
...sorry...here the code

did you get this problem resolved

PostPosted: Wed Jul 30, 2008 5:14 pm
by amoscp2002
hi barattie did you eventually solve this problem? I am having the same problem.

PostPosted: Thu Jul 31, 2008 8:08 am
by p.gelain
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) ;