Page 1 of 1
Running Dynare for matlab 6.1
Posted:
Fri May 19, 2006 1:59 pm
by Klaus_Vondra
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
Posted:
Fri May 19, 2006 7:12 pm
by MichelJuillard
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
Posted:
Sat May 20, 2006 10:03 am
by Klaus_Vondra
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!
Klaus
Re: Running Dynare for matlab 6.1
Posted:
Sat Feb 18, 2012 6:38 am
by Hilly
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
Re: Running Dynare for matlab 6.1
Posted:
Fri Feb 24, 2012 4:31 pm
by SébastienVillemot
Look like something is wrong with your MATLAB installation, I don't think it has to do with Dynare.
Re: Running Dynare for matlab 6.1
Posted:
Wed Mar 07, 2012 5:30 am
by Hilly
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