Reset GUI M-File

6 Ansichten (letzte 30 Tage)
Dimitar Todorov
Dimitar Todorov am 8 Jan. 2014
Kommentiert: Dimitar Todorov am 8 Jan. 2014
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

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 8 Jan. 2014
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 Kommentar
Dimitar Todorov
Dimitar Todorov am 8 Jan. 2014
Thanks mate, that's just what i needed!
Have a nice day

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Software Development Tools finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by