I have the following problem
I start Matlab 2008 on a Linux server.
I have 2 matrices A and B. I use function qz and ordqz of Matlab w/o having used Dynare since starting Matlab and get correct results.
then I run Dynare once. I repeat the experiment and I get warning messages of divisions by zero when use the function ordqz.
There does not seem to
be clashes with functions names (indeed it happens even if I remove Dynare from the path)
I attach the two matrices (change the extension from txt to mat). You can try to reproduce the problem by typing in Matlab
B_matrix_tes.txt (3.66 KB)
A_matrix_tes.txt (1.89 KB)
This is because Dynare activates the display of all warnings.
Launch MATLAB, and without running Dynare, type:
You will get the warnings!
So this has nothing to do with Dynare, the problem (if any) comes from your matrices.
thanks for the reply.
I did not realize Dynare switched all warnings on .
It seems though that the problem lies with MATLAB 2008.
For those interested…
the matrices I posted are the matrices of a two-country model with financial frictions and sticky prices. It solves fine in Dynare and with other solvers. The function ordqz of Matlab works fine with Matlab 2007 but gives the warning with Matlab 2008 (both Windows and Linux) .