How should the Visual C++ compiler versions featured in the supported compilers matrix be interpreted?
14 次查看(过去 30 天)
显示 更早的评论
Hi,
We are using MATLAB 2019a and would like to make sure it supports the MSVC 2019 compiler version we currently use. This document tells us that MATLAB Coder supports "Microsoft Visual C++ 2019 product family" update 5. This formulation raises several questions.
First, what does "update 5" mean exactly? Does it stand for the minor version of the Visual Studio product version the C++ compiler comes in, i.e. Visual Studio 16.5 ? Or does it mean something else? This article might be a good reference on the different ways the MS Visual C++ compiler versions can be expressed.
Second, does it mean that all updates until update 5 are supported or just that exactly update 5 is?
Thank you very much.
0 个评论
回答(1 个)
Govind KM
2024-11-14,9:41
I agree with your interpretation of the linked article, that "Update 5" refers to the minor version of Visual Studio 2019 i.e Visual Studio 2019 16.5 in this case. Using this MATLAB answer as a reference, I believe that Microsoft Visual C++ 2019 Update 5 is listed as the Supported Compiler version for MATLAB Coder becuase this is the version that has been thoroughly qualified and tested with MATLAB Coder functionality. In general, older updates of Visual C++ 2019 up to Update 5 should also be compatible.
This MATLAB Answers post on correctly installing Visual Studio for C/C++ code compilation might also be useful:
Hope this adds some clarity!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Shared Library Integration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!