在matlab安装pogs求解器时出现了以下问题,有人可以帮忙看看吗?
clc;
clear;
ptCloud = pcread('temp1.pcd');
x=ptCloud.Location(:,1);
y=ptCloud.Location(:,2);
z=ptCloud.Location(:,3);
P=[x,y,z];
S=zeros(length(x),1);
K=50;
for i = 1:length(x)
point=P(i,:);
[indices,dists] = findNearestNeighbors(ptCloud,point,K,'sort',true);%k近邻搜索
S(i)=sum(dists);
end
figure;
bar(S);
hold on;