Thread Subject: How To Open Existing GUI in GUIDE

Subject: How To Open Existing GUI in GUIDE

From: David Gathright

Date: 18 Jun, 2008 23:41:02

Message: 1 of 4

I have a GUI I've created using GUIDE, but I moved the .m
and .fig files to a new directory (made more sense for
organization in code repository). Now I cannot open the
file in GUIDE because it is apparently looking in it's
history for any 'existing' GUIs. If I try to open the .fig
file, it simply executes the .m file and does not open the
GUI in GUIDE.

I can think of several other reasons how one could get into
this state other than moving files around--for example:
What if I develop this GUI and then pass it off to someone
else to maintain? Or, what if my computer crashes hard and
I have to re-install everything?

I was finally able to open my existing GUI by creating a
new, blank GUI (so that GUIDE actually opens), then using
the 'Open' feature within the GUIDE window, which lets you
browse your file heirarchy.

So that this workaround isn't necessary, the 'Open Existing
GUI' tab in the initial GUIDE window should have a 'browse'
feature (in addition to the history, which is very useful
in other cases).

Anyway, I hope this helps someone else. Silly me, I wasted
15 minutes trying to do this the hard way (by locating the
GUI 'history' and editing it--never did find it, either).

DSG

Subject: How To Open Existing GUI in GUIDE

From: Nick

Date: 18 Jun, 2008 23:59:04

Message: 2 of 4

Open up a new GUI in guide, and then use the 'open' option in the guide menu to open your old GUI.

Subject: How To Open Existing GUI in GUIDE

From: li rui

Date: 5 Sep, 2008 07:38:02

Message: 3 of 4

you can write the code in the commend windows,like as:
guide filename.the filename is your old gui file.

Subject: How To Open Existing GUI in GUIDE

From: Daniel Scholten

Date: 5 Sep, 2008 12:06:02

Message: 4 of 4

"David Gathright" <David.Gathright@getridofme.lasp.colorado.edu> wrote in message <g3c6ee$k3a$1@fred.mathworks.com>...
> So that this workaround isn't necessary, the 'Open Existing
> GUI' tab in the initial GUIDE window should have a 'browse'
> feature (in addition to the history, which is very useful
> in other cases).

It has one in Version R2007, which Version do you use?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
guide Nayanjyoti 5 Nov, 2008 17:45:39
guide lee rose 5 Sep, 2008 03:40:22
guide madhavi 24 Jun, 2008 02:42:08
open existing gui madhavi 24 Jun, 2008 02:27:57
open existing gui David Gathright 18 Jun, 2008 19:45:05
guide David Gathright 18 Jun, 2008 19:45:05
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com