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

1 view (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!