MATLAB: How to extract xyz coordinates from a point cloud, given that the class is PointCloud instead of PointCloud2? Is there a way to convert the class type from PointCloud to PointCloud2

arraysmatrixmatrix arraypoint cloudxyz

I keep getting the error: Undefined function or variable 'xyzPoints' Class gives me: >> class(ptCloud)
ans =
'pointCloud'
Instead of PointCloud2
Is it possible to change the class?

Best Answer