File Exchange

image thumbnail

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

version 1.3 (8.85 KB) by

mex -setup icc13 linker options

3.66667
3 Ratings

16 Downloads

Updated

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 .

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

Igor (view profile)

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

Igor

Igor (view profile)

Igor

Igor (view profile)

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

What about linux version???

Yuval

Yuval (view profile)

Works for me, no problem.

Updates

1.3

typo fix (in include path)

1.1

added direct link to ICC_mex_tools

MATLAB Release
MATLAB 8.0 (R2012b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video