NOCIONS / letswave6

Letswave 6 - Matlab EEG signal processing toolbox
www.nocions.org/letswave6
48 stars 30 forks source link

Issue Importing .set file from EEGLAB #132

Closed tjames22 closed 6 years ago

tjames22 commented 7 years ago

Hello, I get the following error message when trying to import a file from EEGLAB:

Undefined function or variable 'ft_struct2double'.

Error in ft_datatype_sens (line 164) sens = ft_struct2double(sens);

Error in ft_read_header (line 2391) hdr.elec = ft_datatype_sens(hdr.elec);

Error in ft_read_data (line 200) hdr = ft_read_header(filename, 'headerformat', headerformat, 'chanindx', chanindx, 'checkmaxfilter', checkmaxfilter);

Error in RLW_import_SET (line 26) dat=ft_read_data(filename);

Error in LW_import_SET (line 86) [out_datasets(filepos).header out_datasets(filepos).data message_string]=RLW_import_SET(filename);

Error in letswave_gui>menu_callback (line 387) [configuration,datasets]=eval(eval_st);

Error while evaluating Menu Callback

Please advise

amouraux commented 7 years ago

Sorry for this, the function was missing from the ‘external’ functions. Problem should be solved after updating.

Kind regards, André Mouraux

On 20 Jun 2017, at 20:53, tjames22 notifications@github.com<mailto:notifications@github.com> wrote:

Hello, I get the following error message when trying to import a file from EEGLAB:

Undefined function or variable 'ft_struct2double'.

Error in ft_datatype_sens (line 164) sens = ft_struct2double(sens);

Error in ft_read_header (line 2391) hdr.elec = ft_datatype_sens(hdr.elec);

Error in ft_read_data (line 200) hdr = ft_read_header(filename, 'headerformat', headerformat, 'chanindx', chanindx, 'checkmaxfilter', checkmaxfilter);

Error in RLW_import_SET (line 26) dat=ft_read_data(filename);

Error in LW_import_SET (line 86) [out_datasets(filepos).header out_datasets(filepos).data message_string]=RLW_import_SET(filename);

Error in letswave_gui>menu_callback (line 387) [configuration,datasets]=eval(eval_st);

Error while evaluating Menu Callback

Please advise

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/132, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8YUI779dCOpOx9lGQXSgu77eY2-rks5sGBUSgaJpZM4OAAaH.