Path: news.mathworks.com!not-for-mail
From: "Sadik " <sadik.hava@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: declaring global variables: GUI'S
Date: Sat, 17 Jan 2009 20:44:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 23
Message-ID: <gktfui$e7l$1@fred.mathworks.com>
References: <gktfni$je$1@fred.mathworks.com>
Reply-To: "Sadik " <sadik.hava@gmail.com>
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 1232225042 14581 172.30.248.37 (17 Jan 2009 20:44:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 17 Jan 2009 20:44:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1666517
Xref: news.mathworks.com comp.soft-sys.matlab:512243


"simon ott" <simon_ott@yahoo.com> wrote in message <gktfni$je$1@fred.mathworks.com>...
> 
> Hello,
> I want to declare global variables so that I could access them from my different GUI's. I declared then in OpeningFcn of every GUI.
> 
> function Prog_OpeningFcn(hObject, eventdata, handles, varargin)
> global A
> global A
> 
> but I still can not eccess them 
> some hint please ?
> 
> simon

Hello Simon,

I hope this helps [especially section 7]:

Hello Cesar,

I believe Section 7 of the following link is the one you are looking for:

http://www.mathworks.com/support/tech-notes/1200/1205.html