本文介绍了具有Windows SDK 7.1的Matlab 2012a的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置mex编译器.我使用的是Visual Studio 2012和Matlab 2012a的Windows 8.

I am trying to setup the mex compiler. I am on Windows 8 with Visual studio 2012 and Matlab 2012a.

我已经下载了 Windows SDK 7.1 和已安装:

I have already downloaded Windows SDK 7.1 and installed:

但是当我尝试:

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  

有什么想法吗?

推荐答案

Windows SDK 7.1在受支持的编译器列表中,因此这是一个有效的问题.

The Windows SDK 7.1 is on the list of supported compilers, so this is a valid question.

我认为这可能是此错误,其中我遇到了删除编译器的地方(来自MS的详细信息)!也在此处.该修补程序位于 Microsoft的网站上.

I think it might be this bug, which I have run into where compilers get removed (details from MS)! Check it out here too. The patch is on Microsoft's website.

有关如何操作的提示,请参见此支持文章.下载并配置用于MATLAB的SDK.也许确认已在安装中选择了编译器.

See this support article for tips on how to download and configure the SDK for MATLAB. Maybe confirm that the compilers were selected in the installation.

这篇关于具有Windows SDK 7.1的Matlab 2012a的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 04:00