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 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
for i=1:number_gridx-1
a=string(i)
pcwrite(ptCloudC,'a','PLYFormat','binary');
end
0 commentaires
Réponse acceptée
Walter Roberson
le 26 Août 2021
for i = 1:number_gridx-1
ptCloudC = something appropriate that changes as i changes
filename = i + ".ply";
pcwrite(ptCloudC, filename, 'PLYFormat', 'binary');
end
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Point Cloud Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!