I was successfully able to convert my code to use the msvc compiler and build it via MATLAB with the command:
mex('-v', '-f', [matlabroot '\bin\win64\mexopts\msvc100engmatopts.bat'],'C:\...\MatFileCreate2.cpp');
What I would like to be able to do now is compile the same way using the ICC compiler that is said to ship with MATLAB.
when I run:
mex -setup
I only see the Visual Studio compiler installed.
Do I need to install icc? Configure it? Where would I find the engmatopts file to compile as a standalone application using icc?
Any help is greatly appreciated
Thanks

 Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Mzo. de 2011

2 votos

icc does not ship with Matlab. LCC ships with some versions of Matlab. It does not, however, apply to any 64 bit version, as LCC is only a 32 bit compiler.

2 comentarios

Alex
Alex el 15 de Mzo. de 2011
Is there a c/c++ compiler included with 64 bit installations of MATLAB?
Jan
Jan el 15 de Mzo. de 2011
No.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Mzo. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by