Open a .fig GUI from a .m
4 views (last 30 days)
Show older comments
Hi,
I have a .m file from the GUI I'm working on, but I don't have the .fig to modify the GUI. Is there any way to create a .fig from that .m?
Thanks in advance.
0 Comments
Answers (1)
Cris LaPierre
on 14 Dec 2018
Edited: Cris LaPierre
on 14 Dec 2018
I think it could be done, but nothing would be done automatically. You'd have to manually build a new fig file. Use the m-file to give the controls you add the same tag name as is used in their create/callback functions.
You'd have no way of knowing of any initial values that were present in the original fig file. nor what strings or values were prepulated in popup menus, listboxes, etc. Basically anything that was set in the fig file that does not appear in the .m file.
If you are familiar enough with what the gui did, you could probably recreate it.
0 Comments
See Also
Categories
Find more on File Operations 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!