Dr1 error

When I run my code, I get the following error message:

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

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

The vector, k0, contains a number of zeros. I’ve probably not set up the model correctly in my mod file. What should I look for?

Hi Larry,

some variables in your model don’t show up at the current period. Whenever you have a zero in k0, the corresponding variable is missing at period 't’
In version 3, the variables are ordered alphabeticaly (see lgy_)

Kind regards