Page 1 of 1

Macrolanguage and stoch_simul

PostPosted: Mon May 11, 2009 11:37 pm
by giuseppe
Dear All,

I am using dynare to solve a model in which there several blocks of equations, the number of which endogenously depends upon the parameters of the model.
I am using the features from macro-language (dynare wiki).
I load the initial values and dynare sees the steady state, but when I ask to solve for the policy functions matlab displays the following message:

??? Attempted to access y(524); index out of bounds because numel(y)=523.

Any ideas on how to fix the problem?
Thanks in advance,

Giuseppe

Re: Macrolanguage and stoch_simul

PostPosted: Tue May 12, 2009 11:35 am
by MichelJuillard
I don't encounter this error when I run the file.
Could it be that you have an old lumpyflexible_steadystate.m in your directory?

Best

Michel

Re: Macrolanguage and stoch_simul

PostPosted: Tue May 12, 2009 3:04 pm
by giuseppe
Michel,

one more time thanks a lot!
Now everything works, the macrolanguage is very useful and save me lots of mistakes!
bests

Giuseppe