Account for Matlab 2016a in installer and mex-folder

Note that 32bit is not supported anymore

(cherry picked from commit e37b32b01534ffe9a5a5ec3f00f745720b75a83f)
time-shift
Johannes Pfeifer 2016-03-22 22:33:43 +01:00 committed by Houtan Bastani
parent 6593c433f3
commit b364dd1d4c
3 changed files with 7 additions and 4 deletions

View File

@ -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
*2016a | *2016A)
MATLAB_VERSION="9.0"
;;
*2015b | *2015B)
MATLAB_VERSION="8.6"
;;

View File

@ -48,7 +48,7 @@ else
end
end
else
tmp = [dynareroot '../mex/matlab/win64-7.8-8.6/'];
tmp = [dynareroot '../mex/matlab/win64-7.8-9.0/'];
if exist(tmp, 'dir')
mexpath = tmp;
if modifypath

View File

@ -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
SectionEnd
Section "MEX files for MATLAB 64-bit, version 7.8 to 8.6 (R2009a to R2015b)"
SetOutPath $INSTDIR\mex\matlab\win64-7.8-8.6
File ..\mex\matlab\win64-7.8-8.6\*.mexw64
Section "MEX files for MATLAB 64-bit, version 7.8 to 9.0 (R2009a to R2016a)"
SetOutPath $INSTDIR\mex\matlab\win64-7.8-9.0
File ..\mex\matlab\win64-7.8-9.0\*.mexw64
SectionEnd
SectionGroupEnd