Page 1 of 1

My first time with Dynare

PostPosted: Fri Dec 05, 2014 10:27 pm
by cintiasister
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 !!

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 3:55 pm
by jpfeifer
Please post the full error message.

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 4:01 pm
by cintiasister
Hello,

This is all that appears!

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 4:18 pm
by jpfeifer
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.

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 4:54 pm
by cintiasister
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

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 5:16 pm
by jpfeifer
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?

Re: My first time with Dynare

PostPosted: Sat Dec 06, 2014 10:00 pm
by cintiasister
The problem was solved by re-installing Matlab!!

Thank you very much!
Greetings