How do I select Visual Studio C compiler using mbuild -setup and mex -setup?
조회 수: 76 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2016년 12월 14일
편집: MathWorks Support Team
2018년 1월 31일
I have installed the Microsoft Visual Studio 2015/2017 Professional, and I would like to select it as a compiler in MATLAB using mbuild -setup or mex -setup.
However, it doesn't show in the compiler list when I run "mbuild -setup" and "mex -setup".
채택된 답변
MathWorks Support Team
2018년 7월 10일
편집: MathWorks Support Team
2018년 1월 31일
Microsoft Visual Studio 2015/2017 Professional does not install any C/C++ compiler by default. You need to select appropriate components specifically in the installation setting.
VS2015
VS2017
If you have already selected the C/C++ compilers during installation properly, confirm C program building is successful on Visual Studio.
If some trouble remains after that, please run the following commands and send us the full output message which this produces.
mex -setup -v
mbuild -setup -v
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!