image thumbnail

mex setup for windows x64 intel c compiler 13 (XE)

version (8.85 KB) by Igor
mex -setup icc13 linker options


Updated 12 Nov 2012

View License

Put these files to mexopts dir,like
d:\Program Files\MATLAB\R2012b\bin\win64\mexopts\

and then type >>mex -setup

Now there should be two new strings like

[1] Intel C++ 13.0 (with Microsoft Visual C++ 2010 linker) in %ICPP_COMPILER13%
[3] Intel C++ 13.0 in %ICPP_COMPILER13%

Second option uses native Intel C++ 13.0 linker, which is required, for example, for /Qipo optimization.

Both files contain very basic "safe" optimization options.
To be able to get more speed out of ICC without modifying these "*.bat" files each time,(and for some basic ICC optimization options examples) see another my submission - ICC_mex_tools: .

Cite As

Igor (2022). mex setup for windows x64 intel c compiler 13 (XE) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!