how can i correctly install compiler for mex

2 views (last 30 days)
I´ve already installed Windows SDK 7.1 in my laptop. But when i execute i mex prg.cpp, i could't compile .cpp prg and got error msg.
>> mex -setup Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler: [1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2010a\sys\lcc
[0] None
Compiler:

Answers (1)

Walter Roberson
Walter Roberson on 8 Jan 2016
SDK 7.1 is not supported in your release. See http://www.mathworks.com/support/compilers/R2010a/win32.html

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!