MATLAB ICC Compiler

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

 채택된 답변

Walter Roberson
Walter Roberson 2011년 3월 14일

2 개 추천

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

Alex
Alex 2011년 3월 15일
Is there a c/c++ compiler included with 64 bit installations of MATLAB?
Jan
Jan 2011년 3월 15일
No.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기

질문:

2011년 3월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by