how to see the code in .fig file got from GUIDE
Show older comments
After creating a gui from GUIDE, there will be two files, one is .fig and the other is .m.
I want to know and learn how to get the gui programmatically, so I need to know the code in .fig file. Is this possible?
Accepted Answer
More Answers (1)
Walter Roberson
on 5 Jul 2019
In all recent MATLAB, there is no code in .fig files.
What will be there is graphics objects, some of which will have callbacks set to property values such as
@(hObject,eventdata)YourGuiNameHere('calculate_Callback',hObject,eventdata,guidata(hObject))
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!