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

댓글 수: 1

Lina Carmen
Lina Carmen 2011년 2월 12일
I also accept this answer :)
Thanks Brett

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

질문:

2011년 2월 8일

댓글:

2016년 12월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by