mex-setup/ matlab

1 view (last 30 days)
Magdi Nabi
Magdi Nabi on 27 Jan 2012
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 Comment
the cyclist
the cyclist on 27 Jan 2012
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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 27 Jan 2012
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 Comment
Magdi Nabi
Magdi Nabi on 28 Jan 2012
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

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!