Main Content

closePreview

Close preview of live point cloud data from Ouster lidar sensor

Since R2022a

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

    Description

    example

    closePreview(ousterObj) closes the preview window that displays live point cloud data from the ousterlidar object ousterObj.

    Examples

    collapse all

    Create an ousterlidar object, ousterObj, for the OS0-64 sensor model. Specify the file path to the corresponding calibration file.

    ousterObj = ousterlidar("OS0-64","C:/ouster/OS0-64G_sample.json");

    Preview the point cloud data by using the preview function. The preview window opens. Note that you must close the preview figure before using the read function.

    preview(ousterObj)

    Close the preview window.

    closePreview(ousterObj)

    Input Arguments

    collapse all

    Ouster lidar sensor connection, specified as an ousterlidar object.

    Version History

    Introduced in R2022a