Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!postnews.google.com!m33g2000pri.googlegroups.com!not-for-mail
From: swgillan <swgillan@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Running a function in the background
Date: Wed, 30 Sep 2009 00:09:39 -0700 (PDT)
Organization: http://groups.google.com
Lines: 51
Message-ID: <6eb64057-1d1a-4791-96f1-e9050fe72247@m33g2000pri.googlegroups.com>
References: <f48e68c5-54f4-41b8-9843-0d8c995366b0@i4g2000prm.googlegroups.com> 
	<h9qgfl$a89$1@fred.mathworks.com>
NNTP-Posting-Host: 96.50.69.170
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1254294579 30106 127.0.0.1 (30 Sep 2009 07:09:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 30 Sep 2009 07:09:39 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m33g2000pri.googlegroups.com; posting-host=96.50.69.170; 
	posting-account=oG0_2QoAAADs2vBCPqAYFyNKpnhzubZa
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.3) 
	Gecko/20090824 Firefox/3.5.3,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:573858


I wasn't quite sure exactly what they did (the flashed the code, and
that was it).

Essentially, they had a figure window docked and at the same time in
the command window they were doing basic matrix operations showing how
the memory is managed in matlab (hence the updated docked figure
showing the line graph of system.memory, or something like that as
time elapsed).

Basically, that is how they were using it, and I was curious about
looking at the code (it wasn't posted).

I can try and view the topic for anyway else to have a look at it. I
have seen this demo twice before, once in person here at UVIC and
again online.

Steven Gillan

On Sep 28, 7:16 am, "Steven Lord" <sl...@mathworks.com> wrote:
> "swgillan" <swgil...@gmail.com> wrote in message
>
> news:f48e68c5-54f4-41b8-9843-0d8c995366b0@i4g2000prm.googlegroups.com...
>
> >I was recently reviewing a webinar on large datasets, and the person
> > running the webinar ran a function called WriteMalloc (or something
> > like that).
>
> > Essentially what it did was it was a plot window that updated every
> > second with the amount of memory used by the matlab session.
>
> > I am looking at writing something similar, but I have never seen a
> > figure get updated and run parallel with inputting in the command
> > window. Does anyone know how this might be done?
>
> > This isn't vital, but it was one of those things that I have never
> > seen before, and think it could be really handy.
>
> I don't know specifically what was being used in the webinar you described,
> but perhaps that function was using a TIMER object to perform the updates,
> or it set the *DataSource properties of a line and used REFRESHDATA to force
> it to update?
>
> --
> Steve Lord
> sl...@mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ:http://matlabwiki.mathworks.com/MATLAB_FAQ