Running Dynare for matlab 6.1

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Running Dynare for matlab 6.1

Postby Klaus_Vondra » Fri May 19, 2006 1:59 pm

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
Klaus_Vondra
 
Posts: 3
Joined: Fri May 19, 2006 1:49 pm

Postby MichelJuillard » Fri May 19, 2006 7:12 pm

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
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am

Postby Klaus_Vondra » Sat May 20, 2006 10:03 am

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! :D

Klaus
Klaus_Vondra
 
Posts: 3
Joined: Fri May 19, 2006 1:49 pm

Re: Running Dynare for matlab 6.1

Postby Hilly » Sat Feb 18, 2012 6:38 am

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
Hilly
 
Posts: 2
Joined: Sat Feb 18, 2012 5:56 am

Re: Running Dynare for matlab 6.1

Postby SébastienVillemot » Fri Feb 24, 2012 4:31 pm

Look like something is wrong with your MATLAB installation, I don't think it has to do with Dynare.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: Running Dynare for matlab 6.1

Postby Hilly » Wed Mar 07, 2012 5:30 am

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
Hilly
 
Posts: 2
Joined: Sat Feb 18, 2012 5:56 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron