Matlab, GIS, Shapefile, Point Cloud, Scanx.
shapewrite(S, 'point.shp'); % Write the Shape file. %% Write KML file filename = 'point.kml'; % Specify the name of the KML file. kmlwriteline(filename, lat, lon, alt, 'Color', 'red', 'LineWidth', 5); % Write the line segment to the KML file. When you run the above code, you will see that the shape