Invalid MEX-file when using Dynare4.1.3 with Matlab 2007a

Hello

I’ve just installed Matlab 2007a and dynare 4.1.3 on a Server with Windows 7 64 bit and everytime I try to run a mod file I get the following error:

??? Invalid MEX-file ‘C:\dynare\4.1.3\matlab…\mex\matlab\win64-7.3-7.4\mjdgges.mexw64’: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

.

Error in ==> dr1 at 332
[ss,tt,w,sdim,dr.eigval,info1] = mjdgges(e,d,options_.qz_criterium);

Error in ==> resol at 128
[dr,info,M_,options_,oo_] = dr1(dr,check_flag,M_,options_,oo_);

Error in ==> check at 45
[dr, info] = resol(oo_.steady_state,1);

Error in ==> rbc_ces_lin at 183
check;

Error in ==> dynare at 132
evalin(‘base’,fname) ;

Clearly the same mod file works on other machines but they’ve got a newer version of Matlab. Is it that the problem?

Thanks

It’s hard to tell were the problem comes from.

Can you give a try to the new Dynare 4.2.0 to see if the problem is still there?

I’ve installed version 4.2.0 and everything is working fine now.

Thanks

Cristiano