Explanation

treeval has been removed.


Suggested Action

Replace instances of treeval with the predict method of a ClassificationTree object (created using fitctree) or RegressionTree object (created using fitrtree).

For more information, see the predict method reference page of the ClassificationTree or RegressionTree class in the Statistics and Machine Learning Toolbox documentation.