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?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!