Page 1 of 1

Error in ==> dr1 at 222

PostPosted: Tue Dec 08, 2009 5:57 pm
by Matilda
Hi,

I am having a problem running the attached mod file (it is a small DSGE model) on a 166mhz machine, with Dynare 4.04,
and Matlab 7.7.0 (R2008b) in Windows XP.
I am getting the following errors:


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

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

Error in ==> resol at 101
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

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

Error in ==> endog_vol_bis at 228
check;

Error in ==> dynare at 102
evalin('base',fname);[/b]

What does this mean? The model converges towards the steady state... But it seems to me, that it is not solved. Any help?
Cheers
Matilda

Re: Error in ==> dr1 at 222

PostPosted: Tue Dec 08, 2009 7:06 pm
by AssiaEzzeroug
Hi,

the rank condition of your model is not satisfied. You can fix it by checking whether the timing of ur variables is correct or the value of certain parameters.

Also, note that the instructions "clc; close all;" at the beginning of ur mod-file are not necessary since the Dynare routines include them already.

Best

Re: Error in ==> dr1 at 222

PostPosted: Tue Dec 08, 2009 7:33 pm
by Matilda
Hi, thanks for the very prompt reply. I'll check and let you know.
Cheers
Matilda