Error in ==> dr1 at 222

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);

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

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

Hi, thanks for the very prompt reply. I’ll check and let you know.
Cheers
Matilda