mex-setup/ matlab
1 view (last 30 days)
Show older comments
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
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.
Answers (1)
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.
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!