how catch value in node tree

1 view (last 30 days)
Trop Trader
Trop Trader on 15 Feb 2024
Answered: Voss on 15 Feb 2024
K>> app.DrawMainNode_2.Children(1)
ans =
TreeNode (Nozionale) with properties:
Text: 'Nozionale'
Icon: ''
NodeData: []
Show all properties
How can I capture the checkbox value ?

Accepted Answer

Voss
Voss on 15 Feb 2024
You have to see whether the node is included in the tree's CheckedNodes.
ismember(app.NozionaleNode_2, app.Tree_2.CheckedNodes)

More Answers (0)

Categories

Find more on Develop uifigure-Based Apps 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!