The file quest3hmlr.dyn could not be located in the "Current Folder"

Hi All,
I am trying to run a model that I have in dynare but I have having this 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 quest3hmlr.dyn could not be located in the “Current Folder”. Check whether you typed in the correct filename
and whether the file is really located in the “Current Folder”.

Current folder is C:\dynare\4.5.5\Modelo Fiscal Policy\Dynare and Matlab files\replic_JEDC13, and contains the following mod files:

Error using dynare (line 172)
dynare:: can’t open quest3hmlr.dyn

Can someone help me to solve it? I already checked and quest3hmlr.dyn is correctly located in my “Current Folder” and also I type the correct filename

Many thanks!

Your file should have the ending .mod not .dyn

Thank you so much but is a dynare file ? I tried anyway dynare quest3hmlr.mod and it does not work. Any other ideas?

What is the output of Matlab when you type after the crash:

dir *.mod

?

Error using dynare (line 172)
dynare:: can’t open quest3hmlr.dyn

No matches for pattern ‘*.mod’.

Where exactly did you put the mod file? It cannot be in the current folder

Ah this could be the problem. I need to check where is the mod file. I am a beginner…sorry

Is there any way to check where is it? The dynare model was provided to me with instructions to run it but I have this message. I have 2 main folders with dynare files and data files. It should be only one mod file?

There is one mod-main file.

ok, then I need to look for it and put it somewhere else, because now I have all the files in the cd . Do you know how can I identify it ? . Where should I save it?

Please provide the files you got

Sure, could you please give me an email address?

Use the private message function of this forum.

I tried to send you the files but it says that need forum users can only send 5 files? did you received them?

No. Please use a zip-file

ok, jut send you a private message with a link to a zip file. It took me some time because there was also a max capacity to send a private email. Thanks

For future reference: Dynare recognizes two filetypes:

  1. .mod
  2. .dyn

In case of the mentioned files, the second ending was used.