[Eeglablist] Fail to load all content from .set data through load method

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Mon Apr 11 11:45:46 PDT 2022


Dear Victor,

Sorry for the trouble.

> I am facing an issue to get all the content from the .set file
through the load() method directly from the script or at the command line,
I've tried to load the data typing: load('-mat',/<the directory where
the file is located>/.set'); but I can't able to see in the Workspace
the ALLEEG, CURRENTSET, CURRENTSTUDY, EEG and LASTCOM variables.

So not EEGLAB's pop_loadset() but you want to use load() for some reason,
correct?
See my solution for that.
https://sccn.ucsd.edu/wiki/Makoto%27s_useful_EEGLAB_code#How_to_load_EEGLAB_.set_and_.fdt_files_without_using_EEGLAB_.2805.2F09.2F2020_updated.29
But I guess this is not what you want, you actually want to use EEGLAB
functions, correct?

> With it when I need to get all the content from the .set data
I'm supposed to do: Open EEGLab -> File -> Load existing dataset to see
all the content, even so it's displaying: Unrecognized function or
variable 'ALLEEG'. Error while evaluating Menu Callback.

>From my experience, I can say you have to have an empty ALLEEG in your
workspace, otherwise EEGLAB fails in that case. So that behavior seems
normal to me.

I feel some EEGLAB set up could be screwed up in your environment? You may
want to check this out.
https://sccn.ucsd.edu/wiki/Makoto's_preprocessing_pipeline#EEG.icaact_is_empty.21.3F_.2806.2F15.2F2021_updated.29

Makoto

On Thu, Mar 31, 2022 at 8:13 PM Victor Gimenez <victor.gimenez at ufabc.edu.br>
wrote:

> Dear EEGLab colleagues,
>
>
>
> I am facing an issue to get all the content from the .set file through
> the load() method directly from the script or at the command line, I've
> tried to load the data typing: load('-mat',/<the directory where the
> file is located>/.set'); but I can't able to see in the Workspace the
> ALLEEG, CURRENTSET, CURRENTSTUDY, EEG and LASTCOM variables.
>
> With it when I need to get all the content from the .set data I'm
> supposed to do: Open EEGLab -> File -> Load existing dataset to see all
> the content, even so it's displaying: Unrecognized function or variable
> 'ALLEEG'. Error while evaluating Menu Callback.
>
> It's worth remembering that this .set file I got saving after open the
> file: File > Import data, Using EEGlab functions and plugins > from
> Brain vis. .vhdr or .ahdr file, open the data, selected channel(s) > and
> I after saved this dataset opened as a set file.
>
> Any tips in how to solve them? Thank you all!
>
>
> Victor
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> 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
>



More information about the eeglablist mailing list