Clearing a Panel - AppDesigner
Afficher commentaires plus anciens
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 commentaire
Jordan
le 9 Août 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!
Réponse acceptée
Plus de réponses (2)
长耕
le 7 Août 2024
1 vote
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
le 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.
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!