Clearing a Panel - AppDesigner
Show older comments
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 Comment
Jordan
on 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!
Accepted Answer
More Answers (2)
长耕
on 7 Aug 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
on 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.
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!