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?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
锡秋 陈
am 26 Aug. 2021
Kommentiert: 锡秋 陈
am 28 Aug. 2021
for i=1:number_gridx-1
a=string(i)
pcwrite(ptCloudC,'a','PLYFormat','binary');
end
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 26 Aug. 2021
for i = 1:number_gridx-1
ptCloudC = something appropriate that changes as i changes
filename = i + ".ply";
pcwrite(ptCloudC, filename, 'PLYFormat', 'binary');
end
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Point Cloud Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!