This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

closePreview

Close preview of live point cloud data from Velodyne LiDAR sensor

Syntax

closePreview(lidarobj);

Description

example

closePreview(lidarobj); closes the preview window that displays live point cloud data for the velodynelidar object, lidarobj.

Examples

collapse all

You can preview your Velodyne LiDAR point clouds before acquiring the data. You must close the preview window before you can use the read function to acquire data.

Create a velodynelidar object, v, for use with a model HDL-32E sensor.

v = velodynelidar('HDL32E');

Preview the point cloud data.

preview(v);

The preview window opens.

Note that you must close the preview window before you can use the read function to acquire data.

Close the preview window.

closePreview(v);

Input Arguments

collapse all

Name of Velodyne LiDAR object. You create the object using the velodynelidar function.

Example: closePreview(v);

Introduced in R2019a