File Exchange

image thumbnail

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

version 1.3.0.0 (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:
http://www.mathworks.com/matlabcentral/fileexchange/38981 .

Cite As

Igor (2020). mex setup for windows x64 intel c compiler 13 (XE) (https://www.mathworks.com/matlabcentral/fileexchange/38980-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

Igor

Oups.. here's a fixed link to an 'update' for ICC14:
http://www.mathworks.com/matlabcentral/fileexchange/52960

Igor

Igor

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

Michal Kvasnicka

What about linux version???

Yuval

Works for me, no problem.

Updates

1.3.0.0

typo fix (in include path)

1.1.0.0

added direct link to ICC_mex_tools

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