Skip to content
Snippets Groups Projects
Commit a44fa17c authored by Houtan Bastani's avatar Houtan Bastani Committed by GitHub
Browse files

Merge pull request #1284 from JohannesPfeifer/Matlab2016b

Account for Matlab 2016b in installer and mex-folder
parents 3ace574d b5060296
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,9 @@ AC_REQUIRE([AX_MATLAB]) ...@@ -22,6 +22,9 @@ AC_REQUIRE([AX_MATLAB])
AC_MSG_CHECKING([for MATLAB version]) AC_MSG_CHECKING([for MATLAB version])
if test "x$MATLAB_VERSION" != "x"; then if test "x$MATLAB_VERSION" != "x"; then
case $MATLAB_VERSION in case $MATLAB_VERSION in
*2016b | *2016B)
MATLAB_VERSION="9.1"
;;
*2016a | *2016A) *2016a | *2016A)
MATLAB_VERSION="9.0" MATLAB_VERSION="9.0"
;; ;;
......
...@@ -48,7 +48,7 @@ else ...@@ -48,7 +48,7 @@ else
end end
end end
else else
tmp = [dynareroot '../mex/matlab/win64-7.8-9.0/']; tmp = [dynareroot '../mex/matlab/win64-7.8-9.1/'];
if exist(tmp, 'dir') if exist(tmp, 'dir')
mexpath = tmp; mexpath = tmp;
if modifypath if modifypath
......
...@@ -98,9 +98,9 @@ Section "MEX files for MATLAB 64-bit, version 7.5 to 7.7 (R2007b to R2008b)" ...@@ -98,9 +98,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 File ..\mex\matlab\win64-7.5-7.7\*.mexw64
SectionEnd SectionEnd
Section "MEX files for MATLAB 64-bit, version 7.8 to 9.0 (R2009a to R2016a)" Section "MEX files for MATLAB 64-bit, version 7.8 to 9.1 (R2009a to R2016b)"
SetOutPath $INSTDIR\mex\matlab\win64-7.8-9.0 SetOutPath $INSTDIR\mex\matlab\win64-7.8-9.1
File ..\mex\matlab\win64-7.8-9.0\*.mexw64 File ..\mex\matlab\win64-7.8-9.1\*.mexw64
SectionEnd SectionEnd
SectionGroupEnd SectionGroupEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment