running Dynare on MATLAB R2010a

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

running Dynare on MATLAB R2010a

Postby cjohnson » Tue Jun 08, 2010 9:39 am

i just install MATLAB R2010a, 7.10.0 and install the dynare in the mathlab path. running a simple RBC example which is in the web called rbc.mod wriotting "dynare rbc" I got this message:


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.

The system cannot execute the specified program.

??? Error using ==> dynare at 126
DYNARE: preprocessing failed


just in case, this is the program rbc.mod

close all;
var y c k i l y_l z;
varexo e;
parameters beta psi delta alpha rho;

alpha = 0.33;
beta = 0.99;
delta = 0.023;
psi = 1.75;
rho = 0.95;
sigma = (0.007/(1-alpha));

model;
(1/c) = beta*(1/c(+1))*(1+alpha*(k^(alpha-1))*(exp(z(+1))*l(+1))^(1-alpha)-delta);
psi*c/(1-l) = (1-alpha)*(k(-1)^alpha)*(exp(z)^(1-alpha))*(l^(-alpha));
c+i = y;
y = (k(-1)^alpha)*(exp(z)*l)^(1-alpha);
i = k-(1-delta)*k(-1);
y_l = y/l;
z = rho*z(-1)+e;
end;

initval;
k = 9;
c = 0.76;
l = 0.3;
z = 0;
e = 0;
end;

shocks;
var e = sigma^2;
end;

steady;
check;
stoch_simul(hp_filter = 1600, order = 1);




what's wrong???
Many thanks!!
cjohnson
 
Posts: 3
Joined: Sat Apr 17, 2010 10:52 pm

Re: running Dynare on MATLAB R2010a

Postby SébastienVillemot » Tue Jun 08, 2010 10:07 am

It looks like a problem with your Dynare installation.

Which version of Dynare are you using ?
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: running Dynare on MATLAB R2010a

Postby cjohnson » Tue Jun 08, 2010 10:20 am

thanks for the reply:
my version is 4.1.1

and I tried with version 4 and works ok...so what should I do, stick on the previous version or try move to 4.1.1?
cjohnson
 
Posts: 3
Joined: Sat Apr 17, 2010 10:52 pm

Re: running Dynare on MATLAB R2010a

Postby cjohnson » Tue Jun 08, 2010 12:23 pm

i just foud the mistake....automnatically the name of the folder was 4.1.1 and this is not allowed. change to dynare_v411 and works ok
thanks
cjohnson
 
Posts: 3
Joined: Sat Apr 17, 2010 10:52 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests