MATLAB Answers

Why do I keep getting an error when I try to install eeglab on matlab?

9 views (last 30 days)
Ciara
Ciara on 17 Oct 2014
Commented: Geoff Hayes on 8 Nov 2017
Hi All,
I have the latest version of matlab and I am trying to install the toolbox eeglab which hopefully some of you might know of.
I have tried installing newer and older versions of the eeglab but I keep getting the following errors. Does anyone know why this might be happening? Other people I know do not have any difficulties installing eeglab.
Error using supergui (line 140) supergui error: argument 'fig' must be numeric
Error in eeglab>eeg_mainfig (line 1300) supergui(gcf, geometry, [], listui{:});
Error in eeglab (line 449) javaobj = eeg_mainfig(onearg);

  3 Comments

Geoff Hayes
Geoff Hayes on 17 Oct 2014
Ciara - please clarify which version of MATLAB you are using, and the code and/or steps that you are executing which generates the above error.
Star Strider
Star Strider on 17 Oct 2014
If you’re using ‘the latest version of matlab’ ( R2014b ), the handle graphics calls are significantly different from prior versions. Notably, they no longer return numeric handles. You will likely have to contact the author of ‘eeglab’ to update the code.
It should still work without modification on R2014a and earlier releases.

Sign in to comment.

Answers (2)

Muhammad Usman  Saleem
Muhammad Usman Saleem on 30 Jun 2016
You can also send an email to support@mathworks.com but I really don't recommend it since that will be so very much slower than just calling them on the phone. Installation help is free for everyone including those with the Student Suite.

  0 Comments

Sign in to comment.


Qaiser Hussain
Qaiser Hussain on 7 Nov 2017
Hi all, I am also facing same error
I am using matlab version R2017a and following steps
MATLAB--> Home--> SetPaths
Browse eeglab (eeglab10_2_5_6a) and select
--> Add with subfolders, save and close when i write eeglab in command window I am facing error
eeglab: options file is C:\Users\qaiserh\eeg_options.m CANNOT START CHAT - CURRENTLY ONLY AVAILABLE AT THE UNIVERSITY OF CALIFORNIA SD Error using supergui (line 126) supergui error: argument 'fig' must be numeric
Error in eeglab>eeg_mainfig (line 1033) supergui(gcf, geometry, [], listui{:});
Error in eeglab (line 357) javaobj = eeg_mainfig(onearg);

  1 Comment

Geoff Hayes
Geoff Hayes on 8 Nov 2017
Qaiser - since your post is a question and not an answer, please delete it (here) and re-post as a new question or as a comment to this one.
You may want to contact the authors of the software to discuss your problem and confirm that it is compatible with R2017a.

Sign in to comment.

Tags


Translated by