Normalized Cuts and Image Segmentation的运行代码错误

我在运行Normalized Cuts and Image Segmentation的代码demoNcutImage.m时,出现了
错误使用 arpackc
需要 2 个输出参数

Normalized Cuts and Image Segmentation的运行代码错误
解决方法:
使用Matlab的eigs()函数,而不是normalized cuts包中提供的eigs_new()。

即ncut.m中的
[vbar,s,convergence] = eigs(@mex_w_times_x_symmetric,size(P,1),nbEigenValues,‘LA’,options,tril§);