フィルターのクリア

using mex -setup error

1 回表示 (過去 30 日間)
zhang qi
zhang qi 2015 年 1 月 28 日
コメント済み: Muhammed Ali Erbir 2018 年 12 月 6 日
when i use this command in matlab,error:Error using mex (line 206) .Unable to complete successfully.but i already set up the sdk,there is no effect.
  2 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 1 月 28 日
Zhang - if you have already set up the SDK then there may be a problem with an environment variable or something else that isn't obvious. Redo the setup with verbosity enabled and check the output for signs of something missing. Post the results here if unclear what to do next. The command to run is
mex -v -setup
Muhammed Ali Erbir
Muhammed Ali Erbir 2018 年 12 月 6 日
you have to install visual studio including "C++ destop app" option
then retry in MATLAB mex -setup and show compiler in the list to select
compiler for matlab.PNG

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

回答 (1 件)

Matz Johansson Bergström
Matz Johansson Bergström 2015 年 1 月 28 日
As the error message says you are missing a suitable compiler to create mex files. See mathworks Mex files.
  2 件のコメント
zhang qi
zhang qi 2015 年 1 月 28 日
i think the most important thing is how to create the compiler
Titus Edelhofer
Titus Edelhofer 2015 年 1 月 28 日
Hi,
take a look at the list of supported compilers, choose one and install it. Then run mex -setup again.
Titus

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

カテゴリ

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