Path: news.mathworks.com!not-for-mail
From: "Amol " <amol.borkar@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Talking to multiple GUI
Date: Fri, 8 Feb 2008 04:21:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <foglbe$o9o$1@fred.mathworks.com>
Reply-To: "Amol " <amol.borkar@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202444462 24888 172.30.248.35 (8 Feb 2008 04:21:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 8 Feb 2008 04:21:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 926869
Xref: news.mathworks.com comp.soft-sys.matlab:450046


I am having a lot of trouble in trying to talk to multiple
GUIs. I have created fig1 and fig2 which have seperate fig
and m files. Fig1 has a Text Box and fig2 has a Button. What
I would like to do is control something in fig1 by doing
something in fig2 e.g. change the text in TextBox of fig1 by
pressing the button in fig2. Can someone please tell me how
I should go by it? I start in fig2 and then

h = fig1;

I see fig1 but I cannot control anything beyond that... Any
suggestions?