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.

No one cares about my question. Without an answer, I can’t even start using Dynare.

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

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