|
Hi,
My problem is related to changing the name of a GUI file.
I was working on making a GUI interface via GUIDE, lets call it A. There are two files in the process, A.fig (the GUI part) and A.m, the code related to the different events and functions in the GUI.
As I was developing it I was using the name A (which is a temporary name) but now that it is done I want to call it something different which represents the final version, lets say F (for Final). I changed both file names (A.fig and A.m became F.fig and F.m) as well as the actual function name inside the F.m file.
Now I found a bug in my GUI and I went to the F.m file to fix it. When I then run mu GUI from matlab by writing
F
in the command window it still has the bug, even though it is fixed in the F.m file. I went and fixed it in the A.m file and it works fine.
So, my issue, is, it seems that my "new" F GUI still uses the original A.m file as its code. Even when I put breaks in the F.m file it doesn't break, suggesting it really isn't using the F.m file.
Question: How do I rename a GUI which was made with GUIDE such that it uses a new m file? (and using the "file" menu, "save as" didn't work either...)
Thanks,
Yoav Farkash
|