how to deal with MEX
3 views (last 30 days)
Show older comments
I need to run some code with MEX compiler. The code is something like "mex -O resize.cc". But the matlab show "Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014b/win64.html.". What i need to install to enable the MEX compiler?
0 Comments
Accepted Answer
Geoff Hayes
on 1 Mar 2015
Soon - you need to select a MEX compiler before you try to build/compile a MEX function. In the Command Window type
mex -setup
and you should see a list of compilers that are available for you to use on your 64-bit PC. If none appear, then go to the link you have provided, http://www.mathworks.com/support/compilers/R2014b/index.html?sec=win64, and see if you have any of the supported compilers/applications. If you don't have any, then download and install the (free) Microsoft Wndows SDK 7.1.
1 Comment
More Answers (0)
See Also
Categories
Find more on Troubleshooting in MATLAB Compiler SDK 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!