[Eeglablist] EEGLAB redraw (latest)
Delorme, Arnaud
adelorme at ucsd.edu
Thu Jan 23 13:56:44 PST 2020
Dear Ihshan,
I believe this is because your environment is not set up.
Before running Makoto’s script, type
eeglab
After running his script and before the command “eeglab redraw” you need to type
[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);
Makoto, would you mind to update your script online.
Best wishes,
Arno
> On Jan 21, 2020, at 7:59 PM, GUMILAR, Ihshan <ihgumilar at gmail.com> wrote:
>
> Hi Colleagues,
>
>
> Sorry for sending the second time. I don't know why when I run eeglab
> redraw there is a following error, which I have never come across before.
> Thanks in advance for your help. Look forward to hearing your help. I
> believe that all files are loaded correctly when I saw it step by step.
>
> *Reference to non-existent field 'data'.*
>
> *Error in eeglab>updatemenu (line 1445)*
> *if isempty(ALLEEG) && ~isempty(EEG) && ~isempty(EEG.data)*
>
> *Error in eeglab (line 388)*
> *updatemenu;*
> **************************************************
>
> Fyi, I tried to use makoto's lines
> cd ('D:\Mega\Temporary_testing_files') % Path
> filePath = 'D:\Mega\Temporary_testing_files';
> rawDataFiles = dir('*.hdf5'); % Change extension accordingly
> % 1. Load dataset in one batch
> for SubjID = 1:length(rawDataFiles)
> loadName = rawDataFiles(SubjID).name;
> dataName = loadName(1:end-5);
>
> % Import data (*.hdf5)
> EEG = pop_loadhdf5(dataName,loadName,filePath);
> % EEG.setname = dataName;
> end
> % Problematic eeglab redraw !!!!
> eeglab redraw
>
>
> Thank you
>
>
> Thank you
> _______________________________________________
> 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