Problems with mex -setup
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I use Matlab 2014b and try too setup the compiler with mex -setup C. When I try too set the Compiler for C there is no selection which compiler i like too use. There is only the output.
>> mex -setup C
MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
So the main problem is when I try now to compile a Simulink model there comes this error :
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\Bin\cl.EXE"' : return code '0x2' Stop.
Does anyone know how I can solve the problem and compile my model ?
Thanks Marc
댓글 수: 0
답변 (1개)
Jan
2015년 3월 9일
Did you search in the internet or in the forum already? You would find e.g.:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!