声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 4501|回复: 3

[工具箱] SVM工具箱中qp函数的问题

[复制链接]
发表于 2011-4-21 15:46 | 显示全部楼层 |阅读模式

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

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

x
哪位高手能帮我解决一下我的SVM工具箱中qp函数的问题。
我电脑新装了WIN7系统,64位,但工具箱用不了了,出现了以下情况:
??? Undefined function or method 'qp' for input arguments of type 'double'.
Error in ==> svr at 85
    [alpha lambda how] = qp(Hb, c, A, b, vlb, vub, x0, neqcstr);
Error in ==> mul_SVC_text at 43
[nsv,beta,bias]=svr(trnX,trnY,ker,C)         % 训练
我按照网上的解决方法:mex -v qp.c pr_loqo.c
但没有发现原先的qp.dll变为qp.dll.old,也没有出现qp.mexw32,出现如下提示:
mex -v qp.c pr_loqo.c
This is mex, Copyright 1984-2007 The MathWorks, Inc.  
  C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: 'qp.c' not found.  
??? Error using ==> mex at 222
Unable to complete successfully.
>> mex -v qp.c pr_loqo.c
This is mex, Copyright 1984-2007 The MathWorks, Inc.
Select a compiler:
[0] None
Compiler: 0
  mex: No compiler selected. No action taken.  
**************************************************************************
  Warning: The MATLAB C and Fortran API has changed to support MATLAB
           variables with more than 2^32-1 elements.  In the near future
           you will be required to update your code to utilize the new
           API. You can find more information about this at:
           Building with the -largeArrayDims option enables the new API.
**************************************************************************
  C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify.  
??? Error using ==> mex at 222
Unable to complete successfully.
真希望能有哪位高手指点一二,小弟在此怀着急切的心情拜谢了!
回复
分享到:

使用道具 举报

 楼主| 发表于 2011-4-25 14:15 | 显示全部楼层
大家没遇到过这种问题吗?
发表于 2015-7-3 22:45 | 显示全部楼层
我认为是你没装vc++6.0编译器,你若有vc++6.0编译器,在matlab命令窗口 输入mbuild -setup
发表于 2015-10-10 09:11 | 显示全部楼层
第一个问题是由于qp函数版本过低造成的
你网上找的方法就是重新编译qp函数
之所以还出现错误是因为你没有设置mex编译器
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-6 11:24 , Processed in 0.079545 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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