3rd order problem

I’m on a Mac, running 4.1.2, and just tried running stoch_simul with a 3rd order approximation. Any idea what this error message means:

/Applications/MATLAB_R2009b.app/bin/mex: line 1107: gcc-4.0: command not found
/Applications/MATLAB_R2009b.app/bin/mex: line 997: gcc-4.0: command not found

mex: compile of ' "Model06_16_10_dynamic.c"' failed.

??? Error using ==> mex at 221
Unable to complete successfully.

Error in ==> Model06_16_10 at 135
eval(‘mex -O LDFLAGS=’’-Wl,-twolevel_namespace -undefined error -arch $ARCHS
-Wl,-syslibroot,$SDKROOT -mmacosx-version-min=$MACOSX_DEPLOYMENT_TARGET
-bundle’’ Model06_16_10_dynamic.c’)

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

Hello,

It seems as though you do not have the gcc compilers installed on your computer. Please see step 1 of the “MATLAB Setup” section of this website: dynare.org/DynareWiki/InstallOnMacOSX

If there is still a problem after you do this, please respond to this post.

Best,
Houtan

Thanks. It’s quite a bit closer. Now it calculates up through the Matrix of Covariance of Exogenous Shocks and then gives me:

??? Error using ==> rdivide
Matrix dimensions must agree.

Error in ==> th_autocovariances at 162
Gamma_y{nar+2}(stationary_vars,i) = Gamma_y{nar+ …

Error in ==> disp_th_moments at 37
[oo_.gamma_y,stationary_vars] = th_autocovariances(dr,ivar,M_,options_);

Error in ==> stoch_simul at 73
disp_th_moments(oo_.dr,var_list);

Error in ==> Inventories06_16_10 at 302
info = stoch_simul(var_list_);

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

Please post your MOD file if you want help on that.

Hello, I have exactly the same problem. I have instaled Xcode v3.2.2 but what matlab says is still the same:

/Applications/MATLAB_R2009b.app/bin/mex: line 1107: gcc-4.0: command not found
/Applications/MATLAB_R2009b.app/bin/mex: line 997: gcc-4.0: command not found

mex: compile of ' "durlevML.c"' failed.

The thing is that if I browse the Xcode folder (namely Developer/usr/bin/) there is gcc-4.0 instaled.

I don’t know what to do else - should I somehow set an adress to this file in matlab?

Please, help me! I would appreciate it a lot! Thank you

Please install Dynare 4.3. There is no compilation required.

NB: OS X < 10.6.8 is no longer supported.