Problems with mex -setup

1 vue (au cours des 30 derniers jours)
Marc Allmendinger
Marc Allmendinger le 9 Mar 2015
Réponse apportée : Jan le 9 Mar 2015
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

Réponses (1)

Jan
Jan le 9 Mar 2015
Did you search in the internet or in the forum already? You would find e.g.:

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by