I could managed to convert my .fig file to .m file,but the original .m file which was created by GUIDE cant be used without .fig file.How to teach it to use new generated .m file to create the graphical items?

 采纳的回答

Walter Roberson
Walter Roberson 2011-2-8

1 个投票

It should in theory now just be a matter of removing the call to load the figure, and instead calling the routine that recreates the items that were in the figure.

1 个评论

mark
mark 2016-12-5
how do we remove the call to load the figure and replace it with a routine that recreates the items that were in the figure,

请先登录,再进行评论。

更多回答(2 个)

Brett Shoelson
Brett Shoelson 2011-2-9

2 个投票

Lina,
From your GUIDE-built GUI, pull down from the File menu to EXPORT. That should generate a MATLAB file that will recreate the GUI independent of the Fig file.
Cheers,
Brett

类别

帮助中心File Exchange 中查找有关 Printing and Saving 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by