Clearing a Panel - AppDesigner
Ältere Kommentare anzeigen
Hi, I am creating an App that utilizes the add-on myaxisc, which creates figures with many y axis in a panel object. I am looking for a way to completely clear the panel, as I am replotting many times based on user input. Would really appreciate any help
Thanks,
Garrett
1 Kommentar
Jordan
am 9 Aug. 2023
Can you share the code for using myaxisc in app designer? I just found this add-on and want to understand it a bit better.
Thanks!
Akzeptierte Antwort
Weitere Antworten (2)
长耕
am 7 Aug. 2024
1 Stimme
maybe its a bit too late but I faced the same problem and found the solution.

you can click the "canvas" button and convert it to "no auto adjustable layout app", then you will be able to delete a panel.
Jonathan Wharrier
am 26 Jan. 2024
There is a very simple way...
delete(app.panelName.children);
this will completely clear the panel of all objects attached to it.
Kategorien
Mehr zu Develop Apps Using App Designer 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!