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?

 Accepted Answer

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

Soon's answer moved here
it is working now. thank for your help and reply.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!