When I using append in guide where does my original code go?

I had my programming all done when I decided to create a GUI for it. When running the system it asked me if I wanted to replace my file or append it to it. I used append, but now in my .m file I only have GUI functions and I can't find my original program. Can anyone please help me.

回答 (1 件)

Geoff Hayes
Geoff Hayes 2017 年 1 月 31 日

0 投票

Maria - did you try to save the GUI to a file that had been named the same as your program? I just tried that (R2014a, OS X 10.11.6) and (as expected) my original code was overwritten. I suspect that the append may only work if the original file and been for a GUIDE-created GUI.

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

タグ

質問済み:

2017 年 1 月 24 日

回答済み:

2017 年 1 月 31 日

Community Treasure Hunt

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

Start Hunting!

Translated by