mex-setup/ matlab

1 回表示 (過去 30 日間)
Magdi Nabi
Magdi Nabi 2012 年 1 月 27 日
hi i did run mex-setup after install C++ express and SDK and i got this error ( Could not find the compiler "cl" on the DOS path. Use mex -setup to configure your environment properly)
could you please help me with this
thanx and regards
  1 件のコメント
the cyclist
the cyclist 2012 年 1 月 27 日
I suggest that you edit the title of your question to something more descriptive, so that those who know about mex would be more likely to spot it.

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

回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 1 月 27 日
Make sure that you download a compiler and SDK that is supported for your release version and for 32 vs 64 bits.
The error you are seeing is what one would expect if you had downloaded the wrong compiler for your release.
What MATLAB release are you using, are you using a 32 or 64 bit version of MATLAB, and what compiler (and which edition of it) did you install?
The first MATLAB release that supported any of the MS C++ Express releases was R2010b.
  1 件のコメント
Magdi Nabi
Magdi Nabi 2012 年 1 月 28 日
thanx for ur help and its ok now it works and i found out that the SDK is the problem cause when i remove it and reinstalled again it works
thnks again and appreciate ur help

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

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by