Error while running Matlab

The D matrix being the error. These matrix is extracted from the oo_ output created by dynare first order condition.

3 个评论

Could you toss in some debugging statements to print out size(A) and print out oo_.dr.npred ?
size(A) is empty 0x0
size(oo_.dr.npred) is 1x1
That index would indeed be out of range, then.
I do not know anything about Dynare, so I have no suggestions at the moment as to why it might have returned empty ghx

请先登录,再进行评论。

 采纳的回答

Joe
Joe 2014-1-21

1 个投票

It is because the latest version of Dynare does not report nstatic, npred and nfwrd in oo_.dr as the old versions. You have to rewrite the codes related to these three variables.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Debugging and Improving Code 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by