[Eeglablist] Pausing to select components

James Desjardins jdesjardins at brocku.ca
Tue Jun 7 12:26:22 PDT 2016


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/20160607/01f52ad2/attachment.html>


More information about the eeglablist mailing list