Page 1 of 1

Running dynare

PostPosted: Wed May 24, 2006 1:48 pm
by lucy
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.

PostPosted: Wed May 24, 2006 7:44 pm
by MichelJuillard
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

PostPosted: Mon May 29, 2006 1:36 pm
by lucy
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

PostPosted: Tue May 30, 2006 10:29 am
by MichelJuillard
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

Error

PostPosted: Tue Jun 13, 2006 8:09 am
by Sigitas
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

PostPosted: Sat Jun 17, 2006 7:19 pm
by MichelJuillard
Maybe you forgot the semicolon";" on line 59.

If not, please post the *.mod file

Best

Michel

PostPosted: Tue Jun 27, 2006 6:08 am
by Sigitas
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]

running problem

PostPosted: Wed Mar 14, 2007 11:56 am
by lorenza
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

PostPosted: Sun Mar 18, 2007 8:35 pm
by MichelJuillard
It looks like a problem with an old Matlab version. Look at the FAQ entry on running Dynare with Matlab 6.1

Best

Michel