<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That’s great James. If you could take the lead on that, that would be fantastic.<div class="">Do you have a Bitbuclet ID to submit your changes?</div><div class=""><br class=""></div><div class="">Arno</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 17, 2015, at 2:58 PM, James Desjardins <<a href="mailto:jdesjardins@brocku.ca" class="">jdesjardins@brocku.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma;" class="">Hi Arno et al.,<br class=""><br class="">Looking into running EEGLab GUI in Octave it seems that the critical changes needed are pretty trivial. I just commented out any instance of...<br class=""><br class="">if ~ismatlab,return; end;<br class=""><br class=""><div class="">... in eeglab.m. Then correcting an array orientation sensitivity in Octave's findobj.m (this was the only thing stopping inputgui.m from working).<br class=""><br class="">I posted a 7 minute demo video on SHARCNet's youtube channel<span class="Apple-converted-space"> </span><a href="https://www.youtube.com/watch?v=npz2pBIc9CU" class="">here</a>. The demonstration is performed on one of the visualization systems at SHARCNet.<br class=""><br class="">There are still pages and pages of warning messages in the command line when working with EEGLab GUI in Octave, and there are some clear performance reductions from Matlab<font size="2" class="">. Octave should also be able to run PropertyGrid GUIs, but I have not worked through the bugs there yet.<br class=""><br class="">I think that given this new version of Octave it may be worth testing in Octave while developing GUIs in EEGLab.<br class=""><br class="">Very exciting I think.<br class=""><br class=""></font>James<font size="2" class=""><span style="font-size: 10pt;" class=""></span></font></div><div style="font-family: 'Times New Roman'; font-size: 16px;" class=""><hr tabindex="-1" class=""><div id="divRpF694685" style="direction: ltr;" class=""><font face="Tahoma" size="2" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Arnaud Delorme [<a href="mailto:arno@ucsd.edu" class="">arno@ucsd.edu</a>]<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>September 8, 2015 5:07 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>James Desjardins<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:mmiyakoshi@ucsd.edu" class="">mmiyakoshi@ucsd.edu</a>;<span class="Apple-converted-space"> </span><a href="mailto:embar@super.lt" class="">embar@super.lt</a>; eeglablist<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Eeglablist] EEGLAB in GNU Octave 4<br class=""></font><br class=""></div><div class=""></div><div class="">That’s really cool James. Let’s assess if making the entire EEGLAB code compatible with Octave is doable.<div class=""><br class=""></div><div class="">Arno</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 8, 2015, at 9:17 PM, James Desjardins <<a href="mailto:jdesjardins@brocku.ca" class="" target="_blank">jdesjardins@brocku.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; direction: ltr; font-family: Tahoma;">Hi Mindaugas,<br class=""><br class="">I use Octave regularly to execute EEGLab processing scripts on remote clusters. From the command line EEGLab is very compatible with Octave (as long as there are no Fieldtrip folders in the path).<br class=""><br class="">The issue with EEGLab compatibility has been with GUIs. Taking a look at Octave 4 now, I think that you are right in that the GUI compatibility may be "doable". For example, by simply replacing an instance of "str2mat" to "strvcat" in eegplot.m I am able to scroll through a data file from within Octave (with working menus etc.):<br class=""><br class=""><div class="" style="margin-top: 0px; margin-bottom: 0px;"><span id="cid:d808b72c-06b5-4d70-9694-69f824a61529" class=""><Octave_eegplot.png></span></div><br class=""><div class="" style="margin-top: 0px; margin-bottom: 0px;"><br class=""></div> This seems to be a very big step forward for Octave in this regard. That being said key functions like "inputgui" are not immediately compatible, but the required changes may be very systematic. I think that it will still be a big job to get the EEGLab GUI fully functional from within Octave, but I will keep my eyes open for systematic modifications that can be implemented to bring EEGLab GUI and Octave closer together (I know that this would be particularly valuable for interacting with data on remote HPC clusters).<br class=""><br class=""><div class=""><div class="" style="font-family: Tahoma; font-size: 13px;"><div class="BodyFragment"><font class="" size="2"><span class="" style="font-size: 10pt;"><div class="PlainText">James<br class=""><br class=""></div></span></font></div></div></div><div class="" style="font-family: 'Times New Roman'; font-size: 16px;"><hr tabindex="-1" class=""><div id="divRpF816203" class="" style="direction: ltr;"><font class="" face="Tahoma" size="2"><b class="">From:</b><span class="Apple-converted-space"> </span><a href="mailto:eeglablist-bounces@sccn.ucsd.edu" class="" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a><span class="Apple-converted-space"> </span>[<a href="mailto:eeglablist-bounces@sccn.ucsd.edu" class="" target="_blank">eeglablist-bounces@sccn.ucsd.edu</a>] on behalf of Makoto Miyakoshi [<a href="mailto:mmiyakoshi@ucsd.edu" class="" target="_blank">mmiyakoshi@ucsd.edu</a>]<br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>August 3, 2015 5:12 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span><a href="mailto:embar@super.lt" class="" target="_blank">embar@super.lt</a>; Arnaud Delorme<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>EEGLAB List<br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Eeglablist] EEGLAB in GNU Octave 4<br class=""></font><br class=""></div><div class=""></div><div class=""><div dir="ltr" class="">Dear Mindaugas and Arno,<div class=""><br class=""></div><div class="">> I encourage developers of EEGLAB to maintain functionality in Octave 4 much<br class="">closer to MATLAB!<br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Thank you for update. I've personally never tried EEGLAB on Octave. In theory it's nice to be based on the GNU Octave and reduce dependency on Matlab. However, in practice we would not afford it unless we could get funding support for the project.<br class=""></div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">I know there was such an attempt several years ago (Arno, any comment?)</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Makoto</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 29, 2015 at 11:12 AM,<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:embar@super.lt" class="" target="_blank">embar@super.lt</a>></span><span class="Apple-converted-space"> </span>wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;">Hi,<br class=""><br class="">Two months ago GNU Octave 4.0 released. It uses graphical user interface<br class="">by default (OpenGL graphics with Qt libraries/widgets). I believe, in<br class="">Octave, EEGLAB could work with GUI mode also, but how to do this. I<br class="">encourage developers of EEGLAB to maintain functionality in Octave 4 much<br class="">closer to MATLAB!<br class=""><br class="">--<br class="">Regards,<br class="">Mindaugas<br class=""><br class="">_______________________________________________<br class="">Eeglablist page:<span class="Apple-converted-space"> </span><a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" rel="noreferrer" class="" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br class="">To unsubscribe, send an empty email to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu" class="" target="_blank">eeglablist-unsubscribe@sccn.ucsd.edu</a><br class="">For digest mode, send an email with the subject "set digest mime" to<span class="Apple-converted-space"> </span><a href="mailto:eeglablist-request@sccn.ucsd.edu" class="" target="_blank">eeglablist-request@sccn.ucsd.edu</a><br class=""></blockquote></div><br class=""><br class="" clear="all"><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature"><div dir="ltr" class="">Makoto Miyakoshi<br class="">Swartz Center for Computational Neuroscience<br class="">Institute for Neural Computation, University of California San Diego</div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>