From c986be54d245013340a5e38face4c1e217f7ec94 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Thu, 12 Sep 2019 12:22:59 +0200 Subject: [PATCH] build support for Matlab R2019b (cherry picked from commit a1a4168c3e052253c489337b7ba297934136771d) --- m4/ax_matlab_version.m4 | 5 ++++- windows/dynare.nsi | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/m4/ax_matlab_version.m4 b/m4/ax_matlab_version.m4 index e36a9c949f..5592f53106 100644 --- a/m4/ax_matlab_version.m4 +++ b/m4/ax_matlab_version.m4 @@ -1,4 +1,4 @@ -dnl Copyright (C) 2009-2016 Dynare Team +dnl Copyright (C) 2009-2019 Dynare Team dnl dnl This file is part of Dynare. dnl @@ -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 + *2019b | *2019B) + MATLAB_VERSION="9.7" + ;; *2019a | *2019A) MATLAB_VERSION="9.6" ;; diff --git a/windows/dynare.nsi b/windows/dynare.nsi index f796004861..d66fa99f57 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -103,9 +103,9 @@ Section "MEX files for MATLAB 64-bit, version 7.8 to 9.3 (R2009a to R2017b)" File ..\mex\matlab\win64-7.8-9.3\*.mexw64 SectionEnd -Section "MEX files for MATLAB 64-bit, version 9.4 to 9.5 (R2018a to R2019a)" - SetOutPath $INSTDIR\mex\matlab\win64-9.4-9.6 - File ..\mex\matlab\win64-9.4-9.6\*.mexw64 +Section "MEX files for MATLAB 64-bit, version 9.4 to 9.7 (R2018a to R2019b)" + SetOutPath $INSTDIR\mex\matlab\win64-9.4-9.7 + File ..\mex\matlab\win64-9.4-9.7\*.mexw64 SectionEnd SectionGroupEnd -- GitLab