在win10系统Matlab2013b下安装libsvm

背景:在运行相关graph kernel方法后得到核矩阵,需要作为SVM输入进行分类。

问题:安装libsvm时报错如:

1.No supported SDK or compiler was found on this computer. 

2.Error: MEX cannot find  Microsoft Software Development Kit 7.1 installed  
        on the system. The Intel C++ compiler requires Microsoft Software 
        Development Kit 7.1 in order to link files. 

 

类似的问题网上给出了一系列方案,安装Windows software Development Kit  7.1之类的云云,亲测十分麻烦。

无法使用libsvm可能是由于libsvm/matlab 里没有mexw64文件,本文底部链接压缩包内已经带了此文件,但是是用于64位系统下的。

解压本文链接给的libsvm压缩包(木有办法有时候下东西缺积分),使用libsvm时需要先将libsvm所在路径添加到matlab的路径列表中,且在最上面即可,无需再运行mex -setup。

libsvm链接地址

你可能感兴趣的:(在win10系统Matlab2013b下安装libsvm)