What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?
4 views (last 30 days)
Show older comments
What is the difference between using the Professional Version and the Standard Edition of Microsoft Visual C/C++ (MSVC) with MATLAB?
Accepted Answer
MathWorks Support Team
on 27 Jun 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler SDK in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!