Effacer les filtres
Effacer les filtres

problem with mex -setup in Matlab 2016 b

1 vue (au cours des 30 derniers jours)
Marry M
Marry M le 25 Fév 2017
Commenté : Walter Roberson le 26 Fév 2017
Hi, in windows 10, and Matlab 2016 b, and visual C++ 2013 (professional version), when I'm doing mex-setup will see the following warning, any idea please?
'MEX configured to use 'Microsoft Visual C++ 2013 Professional' for C++ language compilation. Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements...'

Réponse acceptée

Walter Roberson
Walter Roberson le 25 Fév 2017
Modifié(e) : Walter Roberson le 25 Fév 2017
You only need to worry about that warning if you are using old mex code written in the day when only 32 bits was possible.
It is sort of like a warning, "Caution, this product has changed to use unleaded gasoline only!" Which might be relevant if you are old enough to have worked on cars that accepted leaded gas, or might have to use an antique that uses it, but is just "noise" otherwise.
  2 commentaires
Marry M
Marry M le 25 Fév 2017
Modifié(e) : Walter Roberson le 26 Fév 2017
ok thanks, however when I'm running 'vl_compilenn' would see this error:
Error using mex data.cpp, fatal error C1083: Cannot open include file: 'windows.h': No such file or directory.
so may be for that warning or something else ?
Walter Roberson
Walter Roberson le 26 Fév 2017
The warning about ABI change is completely separate from windows.h
windows.h should be available in VS2013 Professional. Please see the advice at http://stackoverflow.com/questions/12748896/cannot-open-windows-h

Connectez-vous pour commenter.

Plus de réponses (0)

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