サポートされているコンパイラが見つかりません。
40 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MATLAB2018bが入っているPCに,
以下の2つをインストールしたのにもかかわらず,
・Microsoft Visual C++ 2015-2019 x64 Redistributable
・Windows 10 SDK
mex -setupと入力すると,
「サポートされているコンパイラが見つかりません。無償提供されている MinGW-w64 C/C++ コンパイラをインストールできます。「Install MinGW-w64 Compiler」を参照してください。その他のオプションについては、https://www.mathworks.com/support/compilers を参照してください。」
とエラーが出るのでしょうか。
mbuild -setup -vと入力すると
'mbuild' には MATLAB Compiler SDK が必要です。
というエラーが出ます。
※インストールを行った順序はSDK→Microsoft Visual C++ 2015-2019 x64 Redistributableです。
0 Kommentare
Antworten (1)
Musashi Ito
am 19 Mär. 2020
Bearbeitet: Musashi Ito
am 19 Mär. 2020
ご参考までに、自分はコンパイラのインストールで以下のコンパイラをインストールしたら
・MinGW を MATLAB のアドインからインストール もしくは、
・Microsoft Visual Studio 2017 Community で " Desktop development with C++ " をインストール
mex -setup
を実行したときにエラーが表示されなかったです。
R2018b でサポートしてるコンパイラは以下のページの Supported Compilers の Details から確認できそうです。
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Compiler SDK のトラブルシューティング finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!