Macrolanguage and stoch_simul

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

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

Michel,

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

Giuseppe