pcwrite
PCWRITE Write XYZ / ASCII PLY point cloud (MATLAB R2026a tip-0).
PCWRITE (PTCLOUD, FILENAME) writes ASCII XYZ for .xyz/.txt/.csv
extensions and an ASCII PLY for .ply. Optional Name-Value Encoding
is accepted for MATLAB call-shape compatibility ('ascii' only).
See also pcread, pointCloud.