[Eeglablist] EEGLAB in GNU Octave 4

Arnaud Delorme arno at ucsd.edu
Thu Sep 17 14:37:43 PDT 2015


That’s great James. If you could take the lead on that, that would be fantastic.
Do you have a Bitbuclet ID to submit your changes?

Arno

> On Sep 17, 2015, at 2:58 PM, James Desjardins <jdesjardins at brocku.ca> wrote:
> 
> Hi Arno et al.,
> 
> Looking into running EEGLab GUI in Octave it seems that the critical changes needed are pretty trivial. I just commented out any instance of...
> 
> if ~ismatlab,return; end;
> 
> ... in eeglab.m. Then correcting an array orientation sensitivity in Octave's findobj.m (this was the only thing stopping inputgui.m from working).
> 
> I posted a 7 minute demo video on SHARCNet's youtube channel here <https://www.youtube.com/watch?v=npz2pBIc9CU>. The demonstration is performed on one of the visualization systems at SHARCNet.
> 
> 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. Octave should also be able to run PropertyGrid GUIs, but I have not worked through the bugs there yet.
> 
> I think that given this new version of Octave it may be worth testing in Octave while developing GUIs in EEGLab.
> 
> Very exciting I think.
> 
> James
> From: Arnaud Delorme [arno at ucsd.edu <mailto:arno at ucsd.edu>]
> Sent: September 8, 2015 5:07 PM
> To: James Desjardins
> Cc: mmiyakoshi at ucsd.edu <mailto:mmiyakoshi at ucsd.edu>; embar at super.lt <mailto:embar at super.lt>; eeglablist
> Subject: Re: [Eeglablist] EEGLAB in GNU Octave 4
> 
> That’s really cool James. Let’s assess if making the entire EEGLAB code compatible with Octave is doable.
> 
> Arno
> 
>> On Sep 8, 2015, at 9:17 PM, James Desjardins <jdesjardins at brocku.ca <mailto:jdesjardins at brocku.ca>> wrote:
>> 
>> Hi Mindaugas,
>> 
>> 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).
>> 
>> 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.):
>> 
>> <Octave_eegplot.png>
>> 
>> 
>>  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).
>> 
>> James
>> 
>> From: eeglablist-bounces at sccn.ucsd.edu <mailto:eeglablist-bounces at sccn.ucsd.edu> [eeglablist-bounces at sccn.ucsd.edu <mailto:eeglablist-bounces at sccn.ucsd.edu>] on behalf of Makoto Miyakoshi [mmiyakoshi at ucsd.edu <mailto:mmiyakoshi at ucsd.edu>]
>> Sent: August 3, 2015 5:12 PM
>> To: embar at super.lt <mailto:embar at super.lt>; Arnaud Delorme
>> Cc: EEGLAB List
>> Subject: Re: [Eeglablist] EEGLAB in GNU Octave 4
>> 
>> Dear Mindaugas and Arno,
>> 
>> > I encourage developers of EEGLAB to maintain functionality in Octave 4 much
>> closer to MATLAB!
>> 
>> 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.
>> 
>> I know there was such an attempt several years ago (Arno, any comment?)
>> 
>> Makoto
>> 
>> On Wed, Jul 29, 2015 at 11:12 AM, <embar at super.lt <mailto:embar at super.lt>> wrote:
>> Hi,
>> 
>> Two months ago GNU Octave 4.0 released. It uses graphical user interface
>> by default (OpenGL graphics with Qt libraries/widgets). I believe, in
>> Octave, EEGLAB could work with GUI mode also, but how to do this. I
>> encourage developers of EEGLAB to maintain functionality in Octave 4 much
>> closer to MATLAB!
>> 
>> --
>> Regards,
>> Mindaugas
>> 
>> _______________________________________________
>> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html <http://sccn.ucsd.edu/eeglab/eeglabmail.html>
>> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu <mailto:eeglablist-unsubscribe at sccn.ucsd.edu>
>> For digest mode, send an email with the subject "set digest mime" to eeglablist-request at sccn.ucsd.edu <mailto:eeglablist-request at sccn.ucsd.edu>
>> 
>> 
>> 
>> -- 
>> Makoto Miyakoshi
>> Swartz Center for Computational Neuroscience
>> Institute for Neural Computation, University of California San Diego

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150917/b3621700/attachment.html>


More information about the eeglablist mailing list