Problems With Running Dynare in Octave

Hello !

I’m starting to use Dynare 4.5.7 in Octve 4.4.1 and I have a problem that I could not solve yet.

I stored a .m document on a folder and ran this code:

As expected, Octave registered in the directory and then I typed:

“dynare RBC_test.mod”

After this, Octave showed the following error message:

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

The file RBC_test.mod could not be located in the “Current Folder”. Check whether you typed in th
e correct filename
and whether the file is really located in the “Current Folder”.

Current folder is C:\Users\jvpig\Documents\Octave\Models, and does not contain any mod files.

error: dynare:: can’t open RBC_test.mod
error: called from
dynare at line 172 column 5

Can anybody help me ?

Hi,

The error message is quite clear: there is no file called RBC_test.mod in the current directory.

However, on your screenshot, I see that there is a file called RBC_test.m in that directory. Could it be that you gave your .mod file the wrong extension? (it should be .mod and not .m)

Best,

1 Like

Hello, Sebastien.

Thank you very much ! Solved.

Best,