2013-09-30 42 views
2

我想安裝mex編譯器。我在Windows 8上使用Visual Studio 2012和Matlab 2012a。Matlab 2012a與Windows SDK 7.1

我已經下載Windows SDK 7.1和安裝:

但是當我嘗試:

mex -setup 

它說:

No supported SDK or compiler was found on this computer. 
For a list of supported compilers, see 
http://www.mathworks.com/support/compilers/R2012a/win64.html 

有什麼想法?

+0

Windows SDK 7.1在列表中,所以這可能是我的答案中引用的Windows SDK安裝程序錯誤。 – chappjc

回答

4

Windows SDK 7.1位於支持的編譯器列表中,所以這是一個有效的問題。

我認爲這可能是this bug,我遇到了編譯器被刪除的地方(details from MS)!檢查一下here too。該修補程序位於Microsoft's website

請參閱this support article瞭解如何下載和配置SDK for MATLAB的提示。也許確認在安裝中選擇了編譯器。

+1

你是對的!這是一個錯誤... – dynamic