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

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?

Antworten (1)

Leepakshi
Leepakshi am 20 Nov. 2025
Bearbeitet: Leepakshi am 20 Nov. 2025

0 Stimmen

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!

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Tags

Gefragt:

am 17 Jun. 2019

Bearbeitet:

am 20 Nov. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by