Macrolanguage and stoch_simul

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Macrolanguage and stoch_simul

Postby giuseppe » Mon May 11, 2009 11:37 pm

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
Last edited by giuseppe on Tue May 19, 2009 11:13 pm, edited 1 time in total.
giuseppe
 
Posts: 2
Joined: Mon May 11, 2009 11:30 pm

Re: Macrolanguage and stoch_simul

Postby MichelJuillard » Tue May 12, 2009 11:35 am

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Re: Macrolanguage and stoch_simul

Postby giuseppe » Tue May 12, 2009 3:04 pm

Michel,

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

Giuseppe
giuseppe
 
Posts: 2
Joined: Mon May 11, 2009 11:30 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests