how catch value in node tree

3 次查看(过去 30 天)
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 ?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by