How to solve this problem:DYNARE: can't open exapmle1.mod

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.

How to solve this problem:DYNARE: can't open exapmle1.mod

Postby wanghao19820707 » Tue Sep 25, 2012 12:23 pm

Dear All:
I install dynare 4.3.0 and matlab 7.10.0(R2010a) on my win7 system.And I already use addpath command to add directory of matlab and examples of Dynare in matlab.But still, when I use command "dynare example1" the error message shows as following:

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).

??? Error using ==> dynare at 96
DYNARE: can't open exapmle1.mod

what can I do ?
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby kyri82 » Tue Sep 25, 2012 12:26 pm

Are you sure you spelled it correctly? The message is DYNARE: can't open exapmle1.mod and not example1.mod
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby wanghao19820707 » Tue Sep 25, 2012 12:56 pm

Hi Kyri:
sorry for confusion.I spell right in matlab with dynare example1 but still,the error message is the same:

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).

??? Error using ==> dynare at 96
DYNARE: can't open example1.mod
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby jpfeifer » Tue Sep 25, 2012 1:21 pm

Every mod-file you want to execute has to be in Matlab's current folder. Adding the path to the examples is not sufficient.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby wanghao19820707 » Tue Sep 25, 2012 1:51 pm

Dear jpfeifer:
The example1 is indeed in my current folder in matlab but still the error message is the same.
Is it mean that maybe there is something wrong with my matlab ?
Many thanks for your kindly help!
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby jpfeifer » Tue Sep 25, 2012 2:01 pm

Try deinstalling and then reinstalling Dynare. And do not forget deleting the path in Matlab after deinstalling.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: How to solve this problem:DYNARE: can't open exapmle1.mo

Postby wanghao19820707 » Wed Sep 26, 2012 9:27 am

Dear Jpfeifer:
Thanks.I will try.
wanghao19820707
 
Posts: 19
Joined: Tue Jan 03, 2012 4:07 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests