Page 1 of 1

error: index out of bounds

PostPosted: Wed Sep 26, 2012 1:32 pm
by use
Dear All,

When I add one more equation (AR(1) process for disturbances), I get the following error and I can't understand where the problem is.
Please, help me with this error:


??? Attempted to access g1(25,64); index out of bounds because size(g1)=[25,63].

Error in ==> model1_dynamic at 215
g1(25, 64)= g1(25, 64)+(-1);

Error in ==> dr1 at 176
[junk,jacobia_] = feval([M_.fname '_dynamic'],z,[oo_.exo_simul ...

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

Error in ==> check at 38
[dr, info] = resol(oo_.steady_state,1);

Error in ==> model1 at 242
check;

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

Re: error: index out of bounds

PostPosted: Wed Sep 26, 2012 2:44 pm
by jpfeifer
As always: please post the mod-file