Error when running Dynare from matlab

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.

Error when running Dynare from matlab

Postby Victor » Tue Dec 03, 2013 7:42 pm

I run a code from matlab to run dynare with 32 parameters. If I run this code with initial parameters, it runs fine but once I re-estimate these parameters I get error 'Index matrix exceed dimension' with a report on the (ghx and ghu) matrix I formed being the error. If I run the code with a try command around dynare it runs fine but ignores the matrix I created which doesn't give me the real results. Help please.
Victor
 
Posts: 15
Joined: Tue Dec 03, 2013 7:21 pm

Re: Error when running Dynare from matlab

Postby jpfeifer » Wed Dec 04, 2013 9:38 am

Please provide a file tp replicate the issue
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Error when running Dynare from matlab

Postby Victor » Wed Dec 04, 2013 3:52 pm

The matrix error comes from here D=[zeros(nvar,oo_.dr.nstatic) A(:,1:oo_.dr.npred) zeros(nvar,oo_.dr.nfwrd)];
it says the index matrix exceed dimension when the parameters change but if I use my initial parameters, it runs fine.
Victor
 
Posts: 15
Joined: Tue Dec 03, 2013 7:21 pm

Re: Error when running Dynare from matlab

Postby jpfeifer » Thu Dec 05, 2013 1:42 pm

------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests