To download visual studio community to mex setup with matlab R2021a

조회 수: 6 (최근 30일)
Zhongxing Zhou
Zhongxing Zhou 2024년 10월 7일
댓글: Image Analyst 2024년 10월 13일
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