To download visual studio community to mex setup with matlab R2021a

8 visualizaciones (últimos 30 días)
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

Respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by