From: Uyen Pham on
Dear all,

I have created an image processing project including GUI with 2 names:"test.fig" and "test.m". However, now, I want to rename both files in order to make a stand-alone application with suitable name.

I right-clicked on the "test.fig" and "test.m" to rename them into "ImageConverter.fig" and "ImageConverter.m". Then, I opened the source code of "test.m" and replace all "test" words by "ImageConverter". To make sure it works, I also renamed "test.asv" into "ImageConverter.asv" as well as its code.

However, it doesn't work like what I want. When I opened Matlab, type "guide" and choose the "ImageConverter.fig", then clicked Run, everything I see on the top-left corner of the GUI is still "test".

Who can help me with this??? Thank you very much for your help!!!!
From: Walter Roberson on
Uyen Pham wrote:

> I right-clicked on the "test.fig" and "test.m" to rename them into
> "ImageConverter.fig" and "ImageConverter.m". Then, I opened the source
> code of "test.m" and replace all "test" words by "ImageConverter". To
> make sure it works, I also renamed "test.asv" into "ImageConverter.asv"
> as well as its code.

> However, it doesn't work like what I want. When I opened Matlab, type
> "guide" and choose the "ImageConverter.fig", then clicked Run,
> everything I see on the top-left corner of the GUI is still "test".

In your description of what you did, you do not mention having altered
the _content_ of the .fig file. The .fig file (which is in the same
format as .mat files) would have objects saved in it that might still
say "test" until you change them.
From: Uyen Pham on
> In your description of what you did, you do not mention having altered
> the _content_ of the .fig file. The .fig file (which is in the same
> format as .mat files) would have objects saved in it that might still
> say "test" until you change them.

Thank you very much! After I type "guide" to open the file '* .fig' I want to rename, and then I choose "Save as". After that, I have a 2 brand-new one, one is '*.fig' and one is '*.m' :)