Hello,
As another post about eeglab, I cannot start it.
I proceeded like the description on eeglab website, but when i launch it on matlab (R2019a), i've got these errors (screen shot).
The version of eeglab is the latest V 14.1.2
Someone can help me?
Thank's
Capture d’écran 2019-05-07 à 08.57.30.png
Capture d’écran 2019-05-07 à 08.57.35.png

2 comentarios

Adam Danz
Adam Danz el 7 de Mayo de 2019
I don't see any errors. I just see a warning that a path could not be added. Have you tried adding this path yourself?
Olivier Carpentieri
Olivier Carpentieri el 7 de Mayo de 2019
I thought that was an error.
I'm not a geek! and I don't understand code.
This software is complexe and even if you send me the link for the tutorial, i'm lost!

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 7 de Mayo de 2019

1 voto

Starting in R2019a, resources is a reserved directory name and cannot be added to the path.
The version of eeglab that I just checked does not put any .m or .p or .mdl or .slx in the resources directory there. It does, however, put some .mat files there.
It looks to me as if the main effect would be to mess up the default 3-D head mesh file and mesh associated channel file. The code in that section is somewhat odd, so I am not at all sure that I have understood it, but I think it is counting on being able to use load() of the .mat without having to have a path specified. If so then copying those .mat files to any other directory under eeglab should work.
My first thought was to rename "resources" to a slightly different name, and make the minor adjustments to the source code. However, my examination hints that the directory name resources is baked into the binary executable named ica_linux that is inside that directory. When that executable is available (and you are using Linux?) then it is used for the ICA phase, instead of running ICA in MATLAB. When possible, that would probably be faster and use less memory than ICA in MATLAB, so it might not be a good idea to disturb that. Other parts of the code such as icadefs and binica suggest that you should be able to place such an executable anywhere, but if the executable has the directory name built into it, then it is probably not portable to a different directory name.
Work-around:
copy the resources directory to Resources (capital R) and modify eeglab.m slighty to refer to 'Resources' in the myaddpath() call. That should shut up MATLAB without affecting any functionality. (Better yet, link the files in resources to be in Resources as well, so that you save space.)

6 comentarios

Olivier Carpentieri
Olivier Carpentieri el 7 de Mayo de 2019
Thank you for your help.
I had tried all you tell me.
Resources with "R" dosen't work.
I work on mac so i don't found ica_lilnux.
If i just change "resources" in "resource" or "rss" it's the sale issue.
I had past in another folder all files of resources and i had change the name in the link in "myaddpath"
Now messages changed and i need this:
dipfit and firflit
I added dipflit and firflit apps but i've got this message!
Capture d’écran 2019-05-07 à 20.29.45.png
Walter Roberson
Walter Roberson el 7 de Mayo de 2019
I just checked, and on Mac with HFS+ file systems, even though the default is case in-sensitive, MATLAB is fine with having a directory named Resources on the path.
The things you show now are warnings. It looks like you installed eeglab 14.1.2b yourself, and that you also used the Add-On Explorer to install eeglab . You should try to resolve that so you do not run into conflicts along the way.
Olivier Carpentieri
Olivier Carpentieri el 7 de Mayo de 2019
I had just seen a tutorial on youtube and at the step where i am, with the blue window, i can choose a file (image1)but i've got a error when i open it with test file.
"line 424"
I cannot choose .csv file (cf image2)
On Muse forum someone use .csv files to create graphs.
I need something more or am i just deeply lost in this too complicated software? ?
Walter Roberson
Walter Roberson el 7 de Mayo de 2019
csv file would be "ASCII text file"
It would help to have a complete copy of the error message. It looks like I have 14.1.0b installed, so the line numbers will not exactly agree... and line 142 does not tell me which file to look in.
Olivier Carpentieri
Olivier Carpentieri el 8 de Mayo de 2019
I thought the same thing about ASCII! thank's
This is the error message:
Capture d’écran 2019-05-08 à 23.04.35.png
Walter Roberson
Walter Roberson el 8 de Mayo de 2019
The code at that point requests to load() the file with the -ascii flag. That would fail under any of these circumstances:
  • The file does not exist
  • You do not have permission to read the file
  • The file has fixed-width fields that run together
  • The file has text anywhere in it (especially headers) with the exception that it can have text lines that start with %
  • The file does not have the same number of numeric values in each row
  • The file uses comma as the decimal separator, unless every number has the comma (in which case the file could be loaded but the results would be unexpected)

Iniciar sesión para comentar.

Arnaud Delorme
Arnaud Delorme el 8 de Mayo de 2019

0 votos

Based on your screen capture, it seems that it did start.
Arno

5 comentarios

Walter Roberson
Walter Roberson el 8 de Mayo de 2019
The original message in orange warning about adding folders named "resources" is an actual problem that needed to be debugged and repaired. It was an incompatibility introduced in MATLAB R2019a. It did not keep the program from being launched, but it would have keep the program from functioning properly in some circumstances.
Olivier Carpentieri
Olivier Carpentieri el 8 de Mayo de 2019
Thank you for your answer.
Do you know how can i debugg and repair this issue?
Arnaud Delorme
Arnaud Delorme el 8 de Mayo de 2019
You can checkout the latest version on Github where the folder has been renamed to prevent the conflict with Matlab. https://github.com/sccn/eeglab
Olivier Carpentieri
Olivier Carpentieri el 9 de Mayo de 2019
Thank you.
I'll change all the parts as it show when i finish my job. By browsing the code I saw that you are a programmer of this code. So thank you so much for this big work, but isn't it easer to change it directly to the source for other users?
Arnaud Delorme
Arnaud Delorme el 9 de Mayo de 2019
Yes, the code has already been changed on Github. However, the code has not been released as a ZIP file for users who do not use Github.

Iniciar sesión para comentar.

Categorías

Más información sobre Data Import and Analysis en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Etiquetas

Preguntada:

el 7 de Mayo de 2019

Comentada:

el 9 de Mayo de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by