From 21ceaa5cb4e9bda35a7dee8ca5c6d48f095ed50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Thu, 22 Sep 2011 18:05:06 +0200 Subject: [PATCH] Provisions for MATLAB 7.13 (R2011b) --- m4/ax_matlab_version.m4 | 3 +++ matlab/dynare_config.m | 4 ++-- windows/dynare.nsi | 12 ++++++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/m4/ax_matlab_version.m4 b/m4/ax_matlab_version.m4 index bce0d4c7b..78a926872 100644 --- a/m4/ax_matlab_version.m4 +++ b/m4/ax_matlab_version.m4 @@ -22,6 +22,9 @@ AC_REQUIRE([AX_MATLAB]) AC_MSG_CHECKING([for MATLAB version]) if test "x$MATLAB_VERSION" != "x"; then case $MATLAB_VERSION in + *2011b | *2011B) + MATLAB_VERSION="7.13" + ;; *2011a | *2011A) MATLAB_VERSION="7.12" ;; diff --git a/matlab/dynare_config.m b/matlab/dynare_config.m index 7dfdee6d7..6c25e61db 100644 --- a/matlab/dynare_config.m +++ b/matlab/dynare_config.m @@ -101,7 +101,7 @@ else addpath(mexpath) end else - mexpath = [dynareroot '../mex/matlab/win32-7.5-7.12']; + mexpath = [dynareroot '../mex/matlab/win32-7.5-7.13']; if exist(mexpath, 'dir') addpath(mexpath) end @@ -126,7 +126,7 @@ else addpath(mexpath) end else - mexpath = [dynareroot '../mex/matlab/win64-7.8-7.12']; + mexpath = [dynareroot '../mex/matlab/win64-7.8-7.13']; if exist(mexpath, 'dir') addpath(mexpath) end diff --git a/windows/dynare.nsi b/windows/dynare.nsi index c13eeae43..5a722892a 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -80,9 +80,9 @@ Section "MEX files for MATLAB 32-bit, version 7.0 to 7.4 (R14 to R2007a)" File ..\mex\matlab\win32-7.0-7.4\*.dll SectionEnd -Section "MEX files for MATLAB 32-bit, version 7.5 to 7.12 (R2007b to R2011a)" - SetOutPath $INSTDIR\mex\matlab\win32-7.5-7.12 - File ..\mex\matlab\win32-7.5-7.12\*.mexw32 +Section "MEX files for MATLAB 32-bit, version 7.5 to 7.13 (R2007b to R2011b)" + SetOutPath $INSTDIR\mex\matlab\win32-7.5-7.13 + File ..\mex\matlab\win32-7.5-7.13\*.mexw32 SectionEnd # Currently we don't have that version of MATLAB @@ -101,9 +101,9 @@ Section "MEX files for MATLAB 64-bit, version 7.5 to 7.7 (R2007b to R2008b)" File ..\mex\matlab\win64-7.5-7.7\*.mexw64 SectionEnd -Section "MEX files for MATLAB 64-bit, version 7.8 to 7.12 (R2009a to R2011a)" - SetOutPath $INSTDIR\mex\matlab\win64-7.8-7.12 - File ..\mex\matlab\win64-7.8-7.12\*.mexw64 +Section "MEX files for MATLAB 64-bit, version 7.8 to 7.13 (R2009a to R2011b)" + SetOutPath $INSTDIR\mex\matlab\win64-7.8-7.13 + File ..\mex\matlab\win64-7.8-7.13\*.mexw64 SectionEnd SectionGroupEnd