声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1895|回复: 0

[综合讨论] matlab编译器相关问题

[复制链接]
发表于 2016-5-16 13:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
64b046c74cabdfc5b7bbe&690.jpg
解决办法:
1、确认安装有VC
2、如果安装有VC,在出现
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n?
的时候输入n
3、此时会列出matlab支持的编译器
[1] Intel C++ 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
[2] Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
[3] Intel Visual Fortran 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
[4] Lcc-win32 C 2.4.1
[5] Microsoft Visual C++ 6.0
[6] Microsoft Visual C++ .NET 2003
[7] Microsoft Visual C++ 2005 SP1
[8] Microsoft Visual C++ 2008 Express
[9] Microsoft Visual C++ 2008 SP1
[10] Open WATCOM C++

[0] None
选择安装的VC版本(我装的是VS2005)
5、选择完成之后,会要求指定VC的安装目录
The default location for Microsoft Visual C++ 2005 SP1 compilers is C:\Program Files\Microsoft Visual Studio 8,
but that directory does not exist on this machine.  

Use C:\Program Files\Microsoft Visual Studio 8 anyway [y]/n?
如果安装目录是自动搜索到的目录C:\Program Files\Microsoft Visual Studio 8 anyway,则输入y,否则输入n,然后手动输入VC安装目录

转自:http://blog.sina.com.cn/s/blog_64b046c701018dtk.html
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-4-28 23:59 , Processed in 0.060485 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表