write_MeshlabPoints
Write 3D coordinates in a MeshLab PickedPoints file.
This function writes the 3D coordinates of points along with their associated
names in a .pp
MeshLab PickedPoints file. The function requires at
least three input arguments. When three arguments are provided, the first
two must be character strings with the filename under which the points will
be saved, filename and the filename of the associated 3D mesh,
meshname. The third input argument must be an matrix with
each row containing the point index (only numeric values) along with the
x,y,z coordinates of each point.
If the point index is required to be alphanumeric, then an additional input ardument may be parsed, pnames, which must be a cell array of strings. pnames must correspond to the points provided in the second input argument, in which case it can be an matrix containing only the 3D coordinates of the points. In case of four input arguments, where the third argument is an Nx4 matrix, the first column (point index) is ignored and the point names in pnames is used.
See also: write_MeshlabPoints
Source Code: write_MeshlabPoints