XML configuration files for compiling MATLAB MEX-files using VS2017. Tested on Windows 10 64-bit with MATLAB R2016b and Visual Studio 2017 (Enterprise Edition), but it should also work with the Community Edition.
- First copy the files to
MATLABROOT\bin\win64\mexopts
(this might trigger a UAC prompt). - Next run
mex -setup
andmex -setup C++
in MATLAB, and select VS2017 compilers. - Finally test the new settings with a sample MEX-file:
>> mex -v -largeArrayDims test.cpp