Page 1 of 1

Needs helps about Matlab 7.7.0(R2008b) and Dynare 3.065

PostPosted: Wed Feb 11, 2009 4:35 pm
by jinke1311
Hi

Could anyone give me some helps?


I have downloaded and unzipped the file 'dynare_mat_v3_065' and then copy the file 'dynare_v3' to c:\

then I copy a file 'example1.mod' from 'examples' to c:\dynare_mod\

After, I open MATLAB and add pathes c:\dynare_3v\matlab and c:\dynare_mod.

Then I change to path c:\dynare_mod, and type command: dynare example1, and then following come up:


>> dynare example1.mod
Warning: Calling MEX-file 'C:\dynare_v3\matlab\mjdgges.dll'.
MEX-files with .dll extensions will not execute in a future version of MATLAB.
??? Invalid MEX-file 'C:\dynare_v3\matlab\gensylv.dll': The specified procedure
could not be found.

.

Error in ==> dr1 at 443
ghxx = gensylv(2,A,B,C,D);

Error in ==> resol at 56
[dr,info] = dr1(dr,check_flag);

Error in ==> stoch_simul at 47
[dr_, info] = resol(ys_,0);

Error in ==> example1 at 110
info=stoch_simul(var_list_);

Error in ==> dynare at 26
evalin('base',fname) ;



Can anyone tell me what goes wrong? Is the MATLAB 2008 incompatible with Dynare V3? If it is the case, what should I do?

Thank you very much.

Re: Needs helps about Matlab 7.7.0(R2008b) and Dynare 3.065

PostPosted: Tue Feb 17, 2009 9:52 am
by SébastienVillemot
Hi,

Try to rename all the ".dll" files by changing their extension to ".mexw32". This may work. Otherwise that means that we must provide an updated version of Dynare 3 for recent versions of Matlab. An alternative is to switch to Dynare 4.

Best,

Sébastien

Re: Needs helps about Matlab 7.7.0(R2008b) and Dynare 3.065

PostPosted: Thu Feb 19, 2009 2:06 pm
by jinke1311
Hi,

I have tried Dynare 4.0 and the problem is solved.

Thank you very much.