https://es.mathworks.com/help/lidar/ousterlidar/ref/ousterlidar.closepreview.html
closePreview - Close preview of live point cloud data from Ouster lidar sensor - MATLAB
This MATLAB function closes the preview window that displays live point cloud data from the ousterlidar object ousterObj.
point cloud data
https://www.mathworks.com/help/imaq/imaqdevice.closepreview.html
closepreview - Close video preview window - MATLAB
This MATLAB function stops video previewing for all the image acquisition objects.
close videopreview windowmatlab