Hi,
I just started using dynare. I wrote a fairly simple dynamic investment model (attached). I can get Dynare to compute a steady state, but when I try to simulate the model, I get the "Index exceeds matrix dimensions" error. This is puzzling to me, given that the steady state simulation works. Any suggestions? The full error is below.
Thanks for your help!
Tatyana
Index exceeds matrix dimensions.
Error in ==> sim1 at 42
nyf = nnz(lead_lag_incidence(3,:)) ;
Error in ==> simul at 82
sim1 ;
Error in ==> steady_state at 91
simul(oo_.dr);
Error in ==> dynare at 132
evalin('base',fname) ;