To download visual studio community to mex setup with matlab R2021a

8 views (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 7 Oct 2024
Moved: Image Analyst on 13 Oct 2024
I suspect all you need is
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.29-16.11)
  2 Comments
Zhongxing Zhou
Zhongxing Zhou on 8 Oct 2024
Moved: Image Analyst on 13 Oct 2024
You are correct. Finally I only install MSVC v140 - VS 2015 C++ build tools (v14.00)
Image Analyst
Image Analyst on 13 Oct 2024
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

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!