How should the Visual C++ compiler versions featured in the supported compilers matrix be interpreted?
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Govind KM
on 14 Nov 2024
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 Comments
See Also
Categories
Find more on C Shared Library Integration 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!