Running Dynare for matlab 6.1

Hello Everybody!

I have a problem running Dynare for matlab 6.1.
I get the following error message:

??? Input argument ‘fname’ is undefined.

Error in ==> c:\programme\dynare_v3\matlab\dynare.m
On line 8 ==> if ~ isstr(fname)

I have considered the change proposed in the FAQ, namely

You need to edit dynare.m in Dynare’s matlab subdirectory. Replace

pathfile = mfilename('fullpath');
command = [pathfile,'_m ',fname];

by
command='c:/dynare_v3.05/matlab/dynare_m ',fname];

still i get the same message.
Can someone help ?

Best Klaus

If you just type “dynare” it is the error message that you get

You must use the name of a model file. For example

dynare example1

Moreover, if you have installed dynare in
c:\programme
you must have the following line in dynare.m:
command='c:/programme/dynare_v3/matlab/dynare_m ',fname];

Kind regards

Michel

Dear Michel!

Thanks for you quick help! Together with the tip from Fabrizio Dynare is now also running on my PC and I can start working! So this forum is a very good idea and has proved to be very helpful in my case! Thanks once again! :smiley:

Klaus

Hi I am starting out on Dynare. I’m using Windows XP and just installed Matlab (32 bit) version 7.13.0.564, which was installed from our common server onto my computer. I ve installed Dynare 4.2.4 on my C drive and have activated it in Matlab via ‘set-path/add folder’. I then set the ‘current folder’ in matlab to cd C:\dyanre\4.2.4\examples. When i tried opening the files containing the examples I keep getting the error message:
MATLAB:dispatcher:loadLibrary Can’t reload ‘C:\Program Files\MATLAB\R2011b\bin\win32\libmwmathlinalg.dll’.
Caught MathWorks::System::FatalException

I would appreciate any help, please

Regards,

M

Look like something is wrong with your MATLAB installation, I don’t think it has to do with Dynare.

Dear Sebastien,

Yes indeed. There must have been a technical problem with how MATLAB was installed. It has since been re-installed and my problem is solved.

Thanks a lot,

Hilly