Dynare in Matlab 7.8.0 R2009a?

Does anyone know if Dynare v4 works in Matlab R2009a?
We’ve followed the guide in christophecahn.me/?p=12
But when we run the command build_matlab we finally get an error:

ld: symbol(s) not found
collect2: ld returned 1 exit status

mex: link of ’ “…/2007b/gensylv.mexmaci”’ failed.

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

Error in ==> build_matlab at 86
eval( COMPILE_COMMAND ’ -DMATLAB -Igensylv/cc ’ …

It worked to install in Matlab 2007, and still works there.


Hi, We do not have the last version of matlab… The compilation of the mex files is working for matlab 2008b and previous versions. Were you able to compile the other mex? Can you post the entire output given by build_matlab?


I was able to recompile the DLLs using Matlab R2009a on a Linux Debian.

Please post the entire log of the compilation. The error messages that you are reporting are truncated.



There is separate issue concerning the integer types used when calling Matlab r2009a BLAS and LAPACK functions
as we do in some of our DLLs. We need to modify the code in consequence.

Until this is done, it isn’t possible to compile the Dynare Mex functions with Matlab r2009a.

More generally, please report any problem that you may encounter using Dynare with Matlab r2009a




I have the same problem compiling in R2009a on a Mac.

I am attaching a text file with the entire output of build_matlab.


build_matlab.txt (20.9 KB)