File Exchange

image thumbnail

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

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

1 Download

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 (2020). mex setup for windows x64 intel c compiler 13 (XE) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Hamza Idris

can you tell me where to find these compilers?
and why i need LCC compiler?
P.S i am using matlab 2016a


Oups.. here's a fixed link to an 'update' for ICC14:



Michal Kvasnicka,
I never used icc13 on linux, sorry.

Michal Kvasnicka

What about linux version???


Works for me, no problem.


typo fix (in include path)

added direct link to ICC_mex_tools

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