Problems with mex -setup
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Jan
am 9 Mär. 2015
Did you search in the internet or in the forum already? You would find e.g.:
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!