matlab和libsvm的接口问题

yuxia090502 2010-04-06 09:37:15
>> 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] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio
[2] Lcc C version 2.4 in E:\MATLAB7\sys\lcc
[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None

Compiler: 3

Please verify your choices:

Compiler: Microsoft Visual C/C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio

Are these correct?([y]/n): y

Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14\mexopts.bat
From template: E:\MATLAB7\BIN\WIN32\mexopts\msvc60opts.bat

Done . . .
>> make
??? Undefined function or variable 'make'.
接下来该怎么解决,请教高手!
...全文
118 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
yanhongkang 2010-05-15
  • 打赏
  • 举报
回复
我也是同样的问题啊!但是你的解决方法我怎么也看不到啊
yuxia090502 2010-04-08
  • 打赏
  • 举报
回复
搞定了,换了一个版本安装上了。
yuxia090502 2010-04-06
  • 打赏
  • 举报
回复
这是我按照帖子上的步骤做的,还是不行,这个问题困扰我两天了。
>> mex -setup

To get started, select MATLAB Help or Demos from the Help menu.

Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: e:\matlab7\toolbox\ccslink\ccslink\info.xml
n

Select a compiler:
[1] Borland C++Builder version 6.0
[2] Borland C++Builder version 5.0
[3] Borland C++Builder version 4.0
[4] Borland C++Builder version 3.0
[5] Borland C/C++ version 5.02
[6] Borland C/C++ version 5.0
[7] Borland C/C++ (free command line tools) version 5.5
[8] Compaq Visual Fortran version 6.1
[9] Compaq Visual Fortran version 6.6
[10] Digital Visual Fortran version 6.0
[11] Digital Visual Fortran version 5.0
[12] Lcc C version 2.4
[13] Microsoft Visual C/C++ version 7.0
[14] Microsoft Visual C/C++ version 7.1
[15] Microsoft Visual C/C++ version 6.0
[16] Microsoft Visual C/C++ version 5.0
[17] WATCOM C/C++ version 11
[18] WATCOM C/C++ version 10.6

[0] None

Compiler: 15

Your machine has a Microsoft Visual C/C++ compiler located at
C:\Program Files\Microsoft Visual Studio. Do you want to use this compiler [y]/n? n
Please enter the location of your compiler: [C:\Program Files\Microsoft Visual Studio] c:\program files\microsoft visual studio

Please verify your choices:

Compiler: Microsoft Visual C/C++ 6.0
Location: c:\program files\microsoft visual studio

Are these correct?([y]/n): y

Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14\mexopts.bat
From template: E:\MATLAB7\BIN\WIN32\mexopts\msvc60opts.bat

Done . . .

>> Make
??? Undefined function or variable 'Make'.
yuxia090502 2010-04-06
  • 打赏
  • 举报
回复
那用不用将msvc60opts.bat 里的
set MATLAB=%MATLAB%
set MSVCDir=%MSVCDir%
set MSDevDir=%MSVCDir%\..\Common\msdev98设置一下。
Treazy 2010-04-06
  • 打赏
  • 举报
回复

Would you like mex to locate installed compilers [y]/n? y

应该是
Would you like mex to locate installed compilers [y]/n? n


看一下这个帖子
http://www.ilovematlab.cn/viewthread.php?tid=61234&extra=&page=1

3,881

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 其它技术问题
社区管理员
  • 其它技术问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧