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

採用された回答

Walter Roberson
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 ExchangePoint Cloud Processing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by