Running dynare

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

Postby lucy » Wed May 24, 2006 1:48 pm

hello,
i downloaded dynare_v3 for matlab (windows). My matlab version is 7.0. i set the matlab path to c:\dynare_v3\examples, and then run dynare example1. But i can only get three intermediate files example1.m example1_ff.m and example_fff.m. Just want to ask why i can not get the final .mat data file and journal file. Thanks.
lucy
 
Posts: 4
Joined: Wed May 24, 2006 1:31 pm

Postby MichelJuillard » Wed May 24, 2006 7:44 pm

Dear Lucy,

you have downloaded version 3 for Matlab but have read the instruction for Dynare++....
There is no example1.mat and example1.jnl with the Matlab version.

The results are displayed on the screen and in example1.log

Kind regards

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby lucy » Mon May 29, 2006 1:36 pm

Dear Proffessor,
Thanks very much.
one more question regarding dynare running.
By running .mod file, i got three intermediary files. and then i ran .m file in matlab. but i couldnot get the result. Here is the error information.
run('C:\dynare\examples\example1.m')
??? Error using ==> run
Error: File: c:\dynare\examples\example1_fff.m Line: 2 Column: 13
Missing variable or function.
Regards,
Lucy
lucy
 
Posts: 4
Joined: Wed May 24, 2006 1:31 pm

Postby MichelJuillard » Tue May 30, 2006 10:29 am

Under normal utilization of DYNARE, you shouldn't run the *.m files. Just do the following at the Matlab prompt

>cd c:\dynare\examples
>dynare example1

Teh output is then displayed on the screen and saved in
example1.log

Kind regards

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Error

Postby Sigitas » Tue Jun 13, 2006 8:09 am

Hello,

I am trying to run my *.mod code where I described a huge DSGE model. Unfortunatelly I obtain no result, but the error message:

syntax error in line 60.

The line 60 is the last line of the section where the parameters are assigned values. What cought it be?

Thanks in advance.

Sigitas
Sigitas
 
Posts: 20
Joined: Tue Jun 13, 2006 7:50 am
Location: Lithuania

Postby MichelJuillard » Sat Jun 17, 2006 7:19 pm

Maybe you forgot the semicolon";" on line 59.

If not, please post the *.mod file

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby Sigitas » Tue Jun 27, 2006 6:08 am

Alrigth. My last parameter was "varphi". It conflicted with dynare command "var". After I changed "varphi" to "warphi" the problem disappeared.

Sigitas


[quote="MichelJuillard"]Maybe you forgot the semicolon";" on line 59.

If not, please post the *.mod file

Best

Michel[/quote]
Sigitas
 
Posts: 20
Joined: Tue Jun 13, 2006 7:50 am
Location: Lithuania

running problem

Postby lorenza » Wed Mar 14, 2007 11:56 am

Hi I download dynare_v3 and try to run example1.mod
I set the path: C: matlab6p5/work/dynare/examples
and then on the matlab command file I type:

dynare example1.mod

I receive the answer that follows:

??? dynare example1.mod
|
Error: Missing operator, comma, or semicolon.

Can you tell me where I'm wrong? I try also tipying:
dynare_v3 example1.mod
lorenza
 
Posts: 1
Joined: Wed Mar 14, 2007 11:52 am

Postby MichelJuillard » Sun Mar 18, 2007 8:35 pm

It looks like a problem with an old Matlab version. Look at the FAQ entry on running Dynare with Matlab 6.1

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 9 guests