<div dir="ltr">Hi,<div><br></div><div><div>Is there a way of getting 'eeglab redraw' to sync with the GUI when you use it within a function? For example, I want to sync with the GUI so I can pause the script and manually inspect the data before moving on - but it won't sync with the GUI.</div>
<div><br></div><div><br></div><div><br></div><div>







<p class=""><span class="">function</span> preproc(x)</p>
<p class="">% Set home path<br></p>
<p class="">home_path = pwd;</p>
<p class=""> </p>
<p class="">% Load set</p>
<p class="">EEG = pop_loadset(<span class="">'filename'</span>,  [num2str(x) <span class="">'_EEG.set'</span>], <span class="">'filepath'</span>, home_path);</p><p class=""><br></p>
<p class="">eeglab <span class="">redraw</span>;</p>
<p class="">EEG = pop_eegplot( EEG, 1, 1, 1);</p>
<p class="">pause</p><p class=""><br></p><p class="">.....</p>
<p class="">end</p><p class=""><br></p><p class=""><br></p></div>-- <br>Brian Scally
</div></div>