Hi guys,
i have a question and would appreciate you help. I generated a Gui through the Guide. I added my components and then added some code in the m-file. However since it was my first GUI i messed it up at some point. I wondered is there i way to get a clean m-file from the GUI i created (reset the one to its initial state where no code was added)., I know i can creat the GUI once again and add the components but i could save time if i just could reset the one i already have. Thanks

 채택된 답변

Mischa Kim
Mischa Kim 2014년 1월 8일

0 개 추천

Delete the associated .m file and reopen the GUI in GUIDE. In GUIDE, open Tools > GUI options... check "Generate FIG file and MATLAB file" and save the GUI.

댓글 수: 1

Dimitar Todorov
Dimitar Todorov 2014년 1월 8일
Thanks mate, that's just what i needed!
Have a nice day

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Software Development Tools에 대해 자세히 알아보기

질문:

2014년 1월 8일

댓글:

2014년 1월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by