MATLAB R2017a does not recognize a Visual Studio 2015 Compiler

3 ビュー (過去 30 日間)
ho-yam
ho-yam 2018 年 3 月 20 日
コメント済み: Ramy Mahmoud 2021 年 8 月 11 日
Although many questions have been answered about this issue, I really did not know why Matlab could not recognize my compiler. I am running a '9.2.0.538062 (R2017a)'Matlab on a windows 7 machine. I have installed the Visual Studio Enterprise 2015. here is the list of the installed packages
The output of
mex -setup
is
Error using mex
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install
MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2017a/.
The output of
mex -setup -v
is
Could anyone help me figure out what is wrong ??
  1 件のコメント
Ramy Mahmoud
Ramy Mahmoud 2021 年 8 月 11 日
please, did you solve this issue ??

サインインしてコメントする。

回答 (2 件)

Jan
Jan 2018 年 3 月 20 日
The list of supported compilers contains a footnote for Microsoft Visual C++ 2015 Professional (I guess this might matter the Enterprise version also):
A compiler is not installed by default with this version
of Visual Studio and must be specified while performing a
custom installation. See Answer 328432 for more details.
  2 件のコメント
ho-yam
ho-yam 2018 年 3 月 20 日
Thank you for your reply. I have make sure to enable "visual C++" during the installation process, but you can see that Matlab didn't recognize it
Ramy Mahmoud
Ramy Mahmoud 2021 年 8 月 11 日
please, did you solve this issue ??

サインインしてコメントする。


Jovin Dsa
Jovin Dsa 2018 年 9 月 12 日
I am also facing the same issue. The only difference being that I am using a windows 10 machine. Any help is highly appreciated.
  2 件のコメント
ho-yam
ho-yam 2018 年 9 月 15 日
I simply uninstall V.Studio compiler and used the MinGW compiler.
Ramy Mahmoud
Ramy Mahmoud 2021 年 8 月 11 日
please, did you solve this issue ??

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by