Why won't the corresponding .m file update when I update the .fig file?

1 visualizzazione (ultimi 30 giorni)
I made a .fig GUI that originally had 4 pushbuttons. When I created it matlab made the corresponding .m file. I later added static text to the original GUI. How do I make the corresponding .m file update to include callbacks for the added element?

Risposta accettata

Walter Roberson
Walter Roberson il 17 Apr 2018
If you do the modification using GUIDE then it will automatically generate all populated callbacks. You might need to go specifically ask to add a callback for that element to get it populated.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by