What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?
6 ビュー (過去 30 日間)
古いコメントを表示
What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?
採用された回答
MathWorks Support Team
2009 年 6 月 27 日
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.
0 件のコメント
その他の回答 (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!