How to write pcwrite into the for loop and ensure that the output point cloud is changed at the same time the file name is changed?
2 次查看(过去 30 天)
显示 更早的评论
for i=1:number_gridx-1
a=string(i)
pcwrite(ptCloudC,'a','PLYFormat','binary');
end
0 个评论
采纳的回答
Walter Roberson
2021-8-26
for i = 1:number_gridx-1
ptCloudC = something appropriate that changes as i changes
filename = i + ".ply";
pcwrite(ptCloudC, filename, 'PLYFormat', 'binary');
end
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!