Clearing a Panel - AppDesigner
Mostrar comentarios más antiguos
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 comentario
Jordan
el 9 de Ag. de 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!
Respuesta aceptada
Más respuestas (2)
长耕
el 7 de Ag. de 2024
1 voto
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
el 26 de En. de 2024
There is a very simple way...
delete(app.panelName.children);
this will completely clear the panel of all objects attached to it.
Categorías
Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!