<div dir="ltr">Hi Michele,<div><br></div><div>I previously encountered the same problems. Now I used the following script to set path, and it seems to be OK:</div><div><br></div><div><div>addpath(genpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\functions'))</div><div>addpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\plugins\xxxx')<br></div><div>addpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\sample_locs')</div><div>rmpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\functions\octavefunc')</div><div>rmpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\functions\octavefunc\optim')</div><div>rmpath('E:\Toolbox\EEGLAB\eeglab13_4_4b\functions\octavefunc\signal')</div><div><br></div><div>'xxxx' is the folder name of your plugin you may use. If it contains subfolers, you may need to use a command similar to the first command above instead. To use the script, you may need to clear the previously set eeglab path.</div><div><br></div><div>Once set, you may use the functions in EEGLAB with/without GUI in your script or in Matlab command.</div><div><br></div><div>PS: I don't think it's possible to 'use eeglab without opening the gui (running the eeglab.m function)', because 'eeglab.m' is to initialize a 'Matlab graphic user interface environment for electrophysiological data analysis incorporating the ICA/EEG toolbox' (See help eeglab).</div><div><br></div><div>Best,</div><div>Chao</div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font size="2" face="arial, helvetica, sans-serif">Chao Wang, PhD Candidate</font><div><font size="2" face="arial, helvetica, sans-serif">Institute of Biomedical Engineering<br>Xi'an Jiaotong University<br>No.28, Xianning West Road, Xi'an, P.R. China</font></div></div></div></div>
<br><div class="gmail_quote">On Sun, Apr 16, 2017 at 3:00 AM,  <span dir="ltr"><<a href="mailto:eeglablist-request@sccn.ucsd.edu" target="_blank">eeglablist-request@sccn.ucsd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---------- Forwarded message ----------<br>From: Michele Barsotti <<a href="mailto:nomeserio@gmail.com">nomeserio@gmail.com</a>><br>To: eeglablist <<a href="mailto:eeglablist@sccn.ucsd.edu">eeglablist@sccn.ucsd.edu</a>><br>Cc: <br>Bcc: <br>Date: Thu, 13 Apr 2017 16:52:49 +0200<br>Subject: [Eeglablist] Name Conflict btw Matlab and Eeglab functions<br><div dir="ltr">Dear EEGLAB users,<div>I would like to use eeglab without opening the gui (running the eeglab.m function) but I've a problem in adding the eeglab folders in the matlab path - it gives me a lot of name conflicts.<div>I've tried to remove the Octave folder but there're still conflicts.</div><div><br></div><div>For the moment I'm using eeglab by running the GUI (eeglab.m function) and then it works for the current matlab session.</div><div><br></div><div>Do you have any suggestion for this problem?</div><div> maybe you've already solved this problem but I couldn't find the answer on the web.<br></div><div><br>Thanks in advance</div><div><br clear="all"><div><br></div>-- <br><div class="gmail-m_-1810242980646768698gmail_signature">        -Michele-</div></div></div></div></blockquote></div><br></div></div></div>