Hello everyone!

It’s my first time working with Dynare. I followed the instructions in the manual. But I can not run any code. I set the path and set the current folder and this is what appears to me:

addpath c:\dynare\4.4.3\matlab

cd c:\dynare\4.4.3\examples

dynare example1

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.

Error using dynare (line 174)

DYNARE: preprocessing failed

Can anyone help me, I’m sure is a minor detail, but I’m new at this.

Thank you !!

Please post the full error message.

Hello,

This is all that appears!

Do you have write permission in the folder? That is, do you execute Matlab with administrator rights? Try copying the mod-file to a folder where you have writing permission (e.g. Documents) and execute it there.

Thanks for your answer.

I’m working on my personal computer and I do have the permissions.

I tried your recommendation and changed location of the files to “My Documents” and still did not run. The only error message is the same:

addpath C:\Users\Cintia\Documents\dynare\4.4.3\matlab

cd C:\Users\Cintia\Documents\dynare\4.4.3\examples

dynare example1

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.

Error using dynare (line 174)

DYNARE: preprocessing failed

I have no idea what is happening!

Thanks,

Cintia

That is strange. Have you tried uninstalling and then reinstalling Dynare? Also, after you get the error message, are there any file with name example1 other than the mod-file in the folder?

The problem was solved by re-installing Matlab!!

Thank you very much!

Greetings