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

1 次查看(过去 30 天)
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?

采纳的回答

Walter Roberson
Walter Roberson 2018-4-17
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by