Page 1 of 1

Error when running Dynare from matlab

PostPosted: Tue Dec 03, 2013 7:42 pm
by Victor
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.

Re: Error when running Dynare from matlab

PostPosted: Wed Dec 04, 2013 9:38 am
by jpfeifer
Please provide a file tp replicate the issue

Re: Error when running Dynare from matlab

PostPosted: Wed Dec 04, 2013 3:52 pm
by Victor
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.

Re: Error when running Dynare from matlab

PostPosted: Thu Dec 05, 2013 1:42 pm
by jpfeifer