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?

 Accepted Answer

Walter Roberson
Walter Roberson on 8 Feb 2011

1 vote

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 Comment

mark
mark on 5 Dec 2016
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,

Sign in to comment.

More Answers (2)

Brett Shoelson
Brett Shoelson on 9 Feb 2011

2 votes

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 Comment

Lina Carmen
Lina Carmen on 12 Feb 2011
I also accept this answer :)
Thanks Brett

Sign in to comment.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!