Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to get gcf in base workspace from a GUI
Date: Thu, 9 Jul 2009 22:21:01 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 3
Message-ID: <h35qgd$oai$1@fred.mathworks.com>
References: <h35p59$pvc$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1247178061 24914 172.30.248.37 (9 Jul 2009 22:21:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Jul 2009 22:21:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:554279


I am not sure I understand what you want to do.  If MATLAB is executing inside a GUI callback, then the current figure is the GUI no matter what figure was selected before the callback was called.  I.e., by clicking on a uicontrol in the GUI, that GUI figure is made current.

Have I misunderstood your request.