フィルターのクリア

MEX -setup does not see my compiler

6 ビュー (過去 30 日間)
Jim Riggs
Jim Riggs 2023 年 10 月 16 日
コメント済み: Jim Riggs 2023 年 10 月 18 日
I am running R2017a and have a working installation of MS Visual Studio with Visual C++ 2019 on my system.
The MATLAB command
mex -setup
returns an error indicating that there is no compatible compiler.
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/.
Is there somthing I must do to get Matlab to recognize my compiler?

採用された回答

Walter Roberson
Walter Roberson 2023 年 10 月 16 日
There were very few instances in which a version of MATLAB supported a compiler named with a year later than the release year of MATLAB.
R2017a supported MinGW 4.9.2, MS VC++ 2017 (patch required) (all versions); and the professional versions of MS VC++ 2015, 2013, and 2012 ( not the Community version)
  1 件のコメント
Jim Riggs
Jim Riggs 2023 年 10 月 18 日
Thank you sir.

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

その他の回答 (0 件)

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by