Page 1 of 1

error message when running examples

PostPosted: Thu Aug 31, 2006 5:28 pm
by bigbigben
Below is my command and the error message

dynare('C:\MATLAB6p5p1\work\dynare_v3\examples\example1.mod')

??? Error: Unexpected MATLAB operator.

Error in ==> dynare at 26
evalin('base',fname) ;

I guess it is due to the difference between Matlab 7.1 and the older version, but I can't figure out how to fix it.

PostPosted: Tue Sep 12, 2006 7:07 pm
by bigbigben
:cry:
No one cares about my question. Without an answer, I can't even start using Dynare.

PostPosted: Tue Sep 12, 2006 7:39 pm
by psummers
have you tried this?

>> dynare example1

both the above and dynare('example1') work in versions 7.1 and 7.2. I don't have 6.5 any more so can't help you there...

PS

PostPosted: Wed Sep 13, 2006 10:31 am
by MichelJuillard
Sorry to be slow to answer, but this question has already been addressed in this forum. Look for example at the thread "Running Dynare". It is also discussed in the manual.

Anyway, in order to run the examples, you must to the following in Matlab:

> cd \dynare_v3\examples
> dynare example1

Kind regards

Michel