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?
조회 수: 3 (최근 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!