Download a ZIP file containing an E57 file, and then unzip the file.
zipFile = matlab.internal.examples.downloadSupportFile("lidar","data/e57ParkingLot.zip");
saveFolder = fileparts(zipFile);
e57FileName = [saveFolder filesep 'parkingLot.e57'];
if ~exist(e57FileName,"file")
unzip(zipFile,saveFolder)
end
Create an e57FileReader object.
e57Reader = e57FileReader(e57FileName);
Inspect the values of the NumPointClouds and PointCloudIndex properties of the e57Reader object.
disp(e57Reader.NumPointClouds);
19
disp(e57Reader.PointCloudIndex);
1
Read the last point cloud from the E57 file and verify that the readPointCloud object function advances the PointCloudIndex property to the next value after NumPointClouds.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.