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?
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
for i=1:number_gridx-1
a=string(i)
pcwrite(ptCloudC,'a','PLYFormat','binary');
end
0 Commenti
Risposta accettata
  Walter Roberson
      
      
 il 26 Ago 2021
        for i = 1:number_gridx-1
  ptCloudC = something appropriate that changes as i changes
  filename = i + ".ply";
  pcwrite(ptCloudC, filename, 'PLYFormat', 'binary');
end
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Point Cloud Processing in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!