Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.belwue.de!newsfeed01.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
From: Ralph Schleicher <rs@ralph-schleicher.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: communication between simulink and matlab gui
Date: Thu, 01 May 2008 18:41:37 +0200
Organization: Ralph Schleicher, Freelance Engineer
Lines: 16
Message-ID: <878wyuvuwu.fsf@echo.mueller-schleicher.i>
References: <fv9h4j$t6d$1@fred.mathworks.com> <fvbi3v$624$1@fred.mathworks.com> <fvc6ic$n0f$1@fred.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.t-online.com 1209661743 03 6212 e3vUOOclxlHKqTK 080501 17:09:03
X-Complaints-To: usenet-abuse@t-online.de
X-ID: EGzYIrZE8ejkhD4cRg96Z9hdKjv9wj9+4bmUZoD2LESNJYl13ufO4l
X-Face: &_l@,v,={27&f~U1u&T}}@PiTrV\4A7due$J*se+PiDvOWS][xPeQt/3_5MBC6]tT}a;0te%<^Tv]Qog%#OsE;AeVgoye>u/9@!Z`$>v[(=ps'%<XU:rR5C&EGM#$R~mH2[#Z;
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Cancel-Lock: sha1:3BTQRanCo/ZFOiEGD7KNKjw8ly8=
Xref: news.mathworks.com comp.soft-sys.matlab:466145


"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