.Fig to .m file

6 次查看(过去 30 天)
Lina Carmen
Lina Carmen 2011-2-8
评论: mark 2016-12-5
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
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
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
  1 个评论
Lina Carmen
Lina Carmen 2011-2-12
I also accept this answer :)
Thanks Brett

请先登录,再进行评论。


Carlos Caicedo
Carlos Caicedo 2016-6-3

类别

Help CenterFile 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