MATLAB: How to create a GUI from another GUI

copy/pastegui

The problem seems simple, and yet…
I wrote a GUI. Now I want to create a similar version of it, without losing the previous.
So I copied the .mat .asv and .fig file, labelled with a new name (e.g. GUI_2), substitued the name throughout the .mat file, but when I call the new file it seems it is still calling the old!
Why does that happen? How can I simply copy/paste a new GUI and start modifiend it?

Best Answer

Yes. This is problematic. I suggest you do this.
Run GUIDE, open the old GUI figure, and then save as. Then you can do your modifications.
Related Question