Interpreter Latex for uitreenode with uistyle not working

4 views (last 30 days)
I am trying to reproduce the following example from the documentation page of uistyle:
fig = uifigure("Position",[500 500 300 350]);
tr = uitree(fig,"Position",[10 10 200 250]);
n1 = uitreenode(tr,Text="Circles");
n2 = uitreenode(tr,Text="Rose Curves");
n11 = uitreenode(n1,Text="$$r=a\cos(\theta)$$");
n12 = uitreenode(n1,Text="$$r=a\sin(\theta)$$");
n21 = uitreenode(n2,Text="$$r=a\cos(n\theta)$$");
n22 = uitreenode(n2,Text="$$r=a\sin(n\theta)$$");
s = uistyle("Interpreter","latex");
But I get:
Unrecognized property 'Interpreter' for class ''.
What did I do wrong? I have Matab 2021b.
I need to customize the node-name in a Tree on the App designer. I need something like: "Mesh 1: object_one"

Accepted Answer

Veronica Taurino
Veronica Taurino on 12 May 2022
Solved. I just upgraded to Matlab 2022a

More Answers (0)


Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!