matlab编译器相关问题
解决办法:
1、确认安装有VC
2、如果安装有VC,在出现
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers /n?
的时候输入n
3、此时会列出matlab支持的编译器
Intel C++ 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
Intel Visual Fortran 10.1 (with Microsoft Visual C++ 2005 SP1 linker)
Intel Visual Fortran 9.1 (with Microsoft Visual C++ 2005 SP1 linker)
Lcc-win32 C 2.4.1
Microsoft Visual C++ 6.0
Microsoft Visual C++ .NET 2003
Microsoft Visual C++ 2005 SP1
Microsoft Visual C++ 2008 Express
Microsoft Visual C++ 2008 SP1
Open WATCOM C++
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 /n?
如果安装目录是自动搜索到的目录C:\Program Files\Microsoft Visual Studio 8 anyway,则输入y,否则输入n,然后手动输入VC安装目录
转自:http://blog.sina.com.cn/s/blog_64b046c701018dtk.html
页:
[1]