Page 1 of 1

Problem when solving a model

PostPosted: Fri Feb 13, 2009 8:55 pm
by robp
Dear all,
I am experiencing a problem solving a model with dynare 3.065

After the program generates the steady state, I get the following error message:


??? 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 ==> dsge_ap at 191
info=stoch_simul(var_list_);

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

The problem is that the vector k0 in the file dr1.m contains zeros. Do you have any suggestions about the causes of this error?
Thanks a lot