Add and delete Tree nodes with context menu in app designer
Ältere Kommentare anzeigen
Hi!
I am making an app using app designer.
There is a uitree, and I was able to create a child node of that uitree through the add button like below.
function buttonPushed(app,event)
app.TreeNode = uitreenode(app.Scenario1Node);
end
But after creating multiple nodes, I can't figure out how to remove the selected node.
What should I do?
My goal is that when creating a node, the contextmenu of the node is also created, and the contextmenu has a function to delete the selected node.
please help me! Thank you.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Develop Apps Programmatically finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!