Path: news.mathworks.com!not-for-mail
From: "simon ott" <simon_ott@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: declaring global variables: GUI'S
Date: Sat, 17 Jan 2009 20:40:18 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gktfni$je$1@fred.mathworks.com>
Reply-To: "simon ott" <simon_ott@yahoo.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 1232224818 622 172.30.248.37 (17 Jan 2009 20:40:18 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 17 Jan 2009 20:40:18 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1507613
Xref: news.mathworks.com comp.soft-sys.matlab:512242


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