Buttons in GUI (GUIDE) delete themselves when I save the figure

5 views (last 30 days)
I'm unfamiliar with matlab, but I've been trying to edit someone's existing gui in GUIDE. I'm trying to add another button to it, and I succeed in relabelling it and connecting it (superficially) to the function I need it to run [although when I close it, that section of the gui moves].
However, when I press save in the upper left hand corner, the box containing that button section DISAPPEARS. Because it only does this when I save, I can't even hit undo, I have to go find an old version. Why is it deleting itself when I save?

Answers (1)

Leepakshi
Leepakshi on 20 Nov 2025 at 8:49
Edited: Leepakshi on 20 Nov 2025 at 8:49
Hi Alex,
This option is disabled as because they are designed for interactive workflows rather than classic figure editing. Saving is intended to be done programmatically or via the Live Editor export options.Though, downloading the file is possible with Save icon on the top LHS of the screen under figure tab.
Thanks!

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!