[Eeglablist] write eegdata in excel

zahra fotovatnia fotovatnia at yahoo.com
Thu Aug 6 22:07:38 PDT 2020


Thank you so much Makoto,
I used the script you wrote to write the "eeg.data" to an excel sheet, but got an error telling me to use "permute" instead of transposing data (eeg.data'). 
writetable(array2table(EEG.data'), 'writevariablename', false,
'writerowname', false)
I rewrote the script as:
B = permute(EEG.data,[50 50 15]);              %eeg.data is 50*50*15 singular.
writetable(array2table(B), '14113RCC_500', false,'S_14', false)
but the error is : 
Error using permuteORDER contains an invalid permutation index.
I need to have channel's labels in the data as well, and the number of channels is different for each participant. I highly appreciate your help. 
Zahra






More information about the eeglablist mailing list