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 CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by