Path: news.mathworks.com!not-for-mail
From: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: communication between simulink and matlab gui
Date: Thu, 1 May 2008 04:49:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <fvbi3v$624$1@fred.mathworks.com>
References: <fv9h4j$t6d$1@fred.mathworks.com>
Reply-To: "Ashwini Deshpande" <vd.ashwini@mathworks.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 1209617343 6212 172.30.248.35 (1 May 2008 04:49:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 May 2008 04:49:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1101624
Xref: news.mathworks.com comp.soft-sys.matlab:466059


"Andrea Monastero" <andrea.monastero@gmail.com> wrote in
message <fv9h4j$t6d$1@fred.mathworks.com>...
> Hi.
> I've got a matlab GUI. I want to read outputs of some
> simulink blocks from the GUI program and update in real-time
> some values of text boxes of the GUI. How can I do?
> 
> Thanks.

Hai,

You can write the Simulink Block output values into a .mat
file using 'To File' block and read the same file from the
matlab GUI.

or else similarly you can also make use of 'To Workspace'
block and then read the workspace parameters from the matlab
GUI.

Regards,
Ashwini