Path: news.mathworks.com!not-for-mail
From: "elizabeth weitzel" <elizabeth.weitzel@baesystems.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: communication between simulink and matlab gui
Date: Fri, 9 May 2008 22:57:03 +0000 (UTC)
Organization: BAE/UDLP
Lines: 38
Message-ID: <g02krv$r19$1@fred.mathworks.com>
References: <fv9h4j$t6d$1@fred.mathworks.com> <fvbi3v$624$1@fred.mathworks.com> <fvc6ic$n0f$1@fred.mathworks.com> <878wyuvuwu.fsf@echo.mueller-schleicher.i>
Reply-To: "elizabeth weitzel" <elizabeth.weitzel@baesystems.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 1210373823 27689 172.30.248.35 (9 May 2008 22:57:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 9 May 2008 22:57:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1371422
Xref: news.mathworks.com comp.soft-sys.matlab:467657


Is there a way to plot in a GUI window, realtime, the 
values that are being generated by a simulink model? Like 
having a scope but within a GUI screen?

-Beth W.









Ralph Schleicher <rs@ralph-schleicher.de> wrote in message 
<878wyuvuwu.fsf@echo.mueller-schleicher.i>...
> "Andrea Monastero" <andrea.monastero@gmail.com> writes:
> 
> > Yes I know, but in this way, if I run the simulation 
from
> > the GUI with the command "sim(...)", I've got to wait 
the
> > end of the simulation before execute the instruction 
which
> > reads the file. I need a real time response...
> 
> Use set_param(bdroot, 'SimulationCommand', 'Start') to 
run
> the simulation asynchronously.
> 
> -- 
> Ralph Schleicher, Freelance Engineer    http://ralph-
schleicher.de
> 
> Development * Consulting * Training
> Mathematical Modeling and Simulation
> Software Tools