Calling node's parent node in a tree in app designer

4 visualizzazioni (ultimi 30 giorni)
good day,
I have a tree with two parent nodes node a and node b
each node have it's own children
I am trying to be able to call the name of the parent node for any selected child node
also I would like to add a button that deletes all children nodes when I want to

Risposta accettata

ma sd
ma sd il 21 Giu 2020
parent=app.uitree.selectednode.Parent

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by