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,