What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?

6 vues (au cours des 30 derniers jours)
What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 2009
The professional version of Microsoft Visual Studio C/C++ is officially supported for use with MATLAB.
We have seen some cases where using the Standard Edition has caused problems, such as not optimizing code. According to the Visual Studio 6.0 documentation, "Code optimization is supported only in Visual C++ Professional and Enterprise editions." The -Oy- switch turns off a particular optimization that the more generic -O2 optimization switch turns on.
If you would like to use the Standard Edition, remove the -O2 and -Oy- flags from your mexopts.bat. This may slow down the speed of your compiled code. Since we do not test with the Standard Edition of Microsoft Visual Studio, it is possible that you may run into other undesired behavior.

Plus de réponses (0)

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by