https://in.mathworks.com/help/stats/compacttreebagger.outliermeasure.html
CompactTreeBagger.outlierMeasure - Outlier measure for data in ensemble of decision trees - MATLAB
This MATLAB function computes outlier measures for predictors X using trees in the ensemble B.
for data