Page 1 of 1

Help: Why cann't I use dynare?

PostPosted: Sun May 22, 2011 6:26 am
by _Bisu_
Hi everyone,
I just started to learn how to use dynare. But unfortunately, when I made an estimation using dynare, dynare didn't work.
The error information is as follows,
>> dynare D:\Pa\Code.mod

Configuring Dynare ...
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.2.0).
Starting preprocessing of the model file ...
Found 7 equation(s).
Evaluating expressions...done
Computing static model derivatives:
- order 1
Computing dynamic model derivatives:
- order 1
- order 2
Processing outputs ...done
Preprocessing completed.
Starting MATLAB/Octave computing.

??? Error: Unexpected MATLAB operator.

Error in ==> dynare at 132
evalin('base',fname) ;
My matlab version is 2010b and my dynare version is 4.2.0.
My operating system is Win7 32bit.
I hope my kind-hearted friends can give me a hand.
Thanks~

Re: Help: Why cann't I use dynare?

PostPosted: Sun May 22, 2011 9:33 am
by jpfeifer
Invoking Dynare with
Code: Select all
dynare D:\Pa\Code.mod

is wrong. You have to move the Matlab Current Directory to D:\Pa and then use:
Code: Select all
dynare Code

It is the "\" that is creating the problems