MATLAB: How to access the variable range for leaf node in decision tree

classregtreedecision treevariable range

I want to access the variable range for each of the leaf node for the decision tree that is created by using classregtree. I can see the variable range in the figure generated by view(), but I want to access the range from the code.
Thank you!

Best Answer

Had to do little bit of coding but got it anyway. :)