To download visual studio community to mex setup with matlab R2021a

8 次查看(过去 30 天)
Dear Collegure,
I want to mex setup in Maltab R2021a so that Visual Studio is selected as the compiler for C/C++.
I was told that Maltab R2021a only support Visual Studio 2019 and old versions. But I found I can not download Visual Studio 2019 community.
Another option is to install Visual Studio 2022 community but with individual components of VS 2019. But I don't know which individual components should be selected.
Would you please give me some suggestions? Thanks!
The list of individual components is shown below.
Thanks
Zhongxing

回答(1 个)

Walter Roberson
Walter Roberson 2024-10-7
移动:Image Analyst 2024-10-13
I suspect all you need is
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.29-16.11)
  2 个评论
Zhongxing Zhou
Zhongxing Zhou 2024-10-8
移动:Image Analyst 2024-10-13
You are correct. Finally I only install MSVC v140 - VS 2015 C++ build tools (v14.00)
Image Analyst
Image Analyst 2024-10-13
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.
For full details on how to earn reputation points see: https://www.mathworks.com/matlabcentral/answers/help?s_tid=al_priv#reputation

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by