Explanation

treedisp has been removed.


Suggested Action

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

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