Page 1 of 1

problem in executing ramst.mod under matlab6

PostPosted: Thu May 03, 2007 12:06 pm
by ahmetatil
Hi,
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?

PostPosted: Thu May 10, 2007 1:10 pm
by nabilfrance
you have to change the directory to

> cd \dynare\examples
then you excute
dynare ramst

hope it will work