How do I select Visual Studio C compiler using mbuild -setup and mex -setup?
22 ビュー (過去 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!