https://fr.mathworks.com/help/lidar/ref/groundtruthlidar.selectlabelsbyname.html
selectLabelsByName - Select ground truth data by label name - MATLAB
This MATLAB function selects ground truth data of the specified label names labelNames from a groundTruthLidar object gTruth.
ground truthby labelselectdataname