Path: news.mathworks.com!not-for-mail
From: "Hans Gohle" <ghostryder@gmx.de>
Newsgroups: comp.soft-sys.matlab
Subject: Scope of 'To Workspace' variables
Date: Sun, 25 May 2008 21:01:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <g1ck2e$b5r$1@fred.mathworks.com>
Reply-To: "Hans Gohle" <ghostryder@gmx.de>
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 1211749262 11451 172.30.248.37 (25 May 2008 21:01:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 25 May 2008 21:01:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1323309
Xref: news.mathworks.com comp.soft-sys.matlab:470291



Hi,

I have a model that contains several 'To Workspace' outputs.
The execution of the model is done within a function and
therefore these variables are only visible within that
function. 

But I need all these variables in the workspace as they are
needed by a GUI that is executed concurrently and plots the
data from the model. What is the best way to share the data
between the model and the GUI?

Thanks,

g.