Problem in executing ramst.mod under matlab6

I am still strugling with dynare to open an example file found in the examples folder.
i am using matlab version 6.
here is what i did.
I set the path to C:\dynare_v3\matlab

after several failed attempts, lately I replaced the ramst.mod example file into matlab folder and typed the command below:

dynare ramst.mod;

but matlab gave the following error message:

??? Error using ==> mfilename
Too many input arguments.

Error in ==> c:\dynare_v3\matlab\dynare.m
On line 12 ==> pathfile = mfilename(‘fullpath’);

what should i do?

you have to change the directory to

cd \dynare\examples
then you excute
dynare ramst

hope it will work