Main Content

closePreview

Close preview of live point cloud data from Velodyne LiDAR sensor

Since R2020b

Add-On Required: This feature requires the Lidar Toolbox Support Package for Velodyne LiDAR Sensors add-on.

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);

Version History

Introduced in R2020b