Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!w39g2000prb.googlegroups.com!not-for-mail
From: abe.cool@gmail.com
Newsgroups: comp.soft-sys.matlab
Subject: Pausing
Date: Sun, 2 Nov 2008 10:27:31 -0800 (PST)
Organization: http://groups.google.com
Lines: 26
Message-ID: <fc6b4dd9-4c14-4fd6-85f8-ee6f52048db1@w39g2000prb.googlegroups.com>
NNTP-Posting-Host: 124.43.228.190
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1225650452 14534 127.0.0.1 (2 Nov 2008 18:27:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 2 Nov 2008 18:27:32 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: w39g2000prb.googlegroups.com; posting-host=124.43.228.190; 
	posting-account=TCVV3goAAADAjO8QvtL1ShlOEZNvEqvf
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.3) 
	Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:498532


Hi Guys,

I have created a function called "Line".

Lets say i am calling the line functions for 5 times with the delay of
3sec, it'll draw the lines.

Line1(2,3,2,5);
pause(3);
Line1(4,5,2,3);
pause(3);
Line1(7,6,8,9);
pause(3);
etc........


There is a pause button in my GUI(Player). If i press that button, the
line drawing function should pause.

I don't know how to do that.

Please help me.

Thank you

ABE