[Eeglablist] Pausing to select components
Xiaoming Du
XDu at mprc.umaryland.edu
Wed Jun 8 09:04:34 PDT 2016
uiwait will also do the job.
>>> James Desjardins <jdesjardins at brocku.ca> 6/7/2016 3:26 PM >>>
Hi John,
I think that on your script you may have to include:
waitfor(gcf);
... following your call to pop_selectcomps() if you want the script to pause until the figure is closed.
James
From: eeglablist-bounces at sccn.ucsd.edu [eeglablist-bounces at sccn.ucsd.edu] on behalf of John Johnson [john at johnjohnson.info]
Sent: June 3, 2016 3:32 PM
To: eeglablist at sccn.ucsd.edu
Subject: [Eeglablist] Pausing to select components
Hello,
I'm writing a script with pop_selectcomps(). I'd like for the script to wait until the user has selected components to reject, then continue after the user clicks 'Ok'. Is there a way to do this?
Thanks,
John
--
Sent from a MacBook Pro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160608/bc9f68ab/attachment.html>
More information about the eeglablist
mailing list