NOCIONS / letswave6

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

L6: error in importing BDF file #154

Open ufangYang opened 6 years ago

ufangYang commented 6 years ago

Hi,

I am running L6 on windown10 with Matlab R2012b. When I am trying to import biosemi files, I get the following error:

" Invalid MEX-file 'C:\Users\MATLAB\letswave6-new\letswave6 master\external\fieldtrip\ft_getopt.mexw64 '"

I had replaced the files of "ft_getopt" & "ft_getopt.mexa64" in the external/fieldtrip folder from fieldtrip library (20180925). Also, I redownloaded L6 (as name "letswave6-new" in the pathway). Do you know any way to fix this problem?

Many thanks in advance, Fang

amouraux commented 6 years ago

I made a slight change and, hopefully it is now fixed? If you stil get the error message, can you tell me what the name of your file is?

Best wishes, André

On 26 Sep 2018, at 01:41, UFang notifications@github.com<mailto:notifications@github.com> wrote:

Hi I am running L6 on windown10. Letswave6 seems ok to load processed data when I am trying to import biosemi files, I get the following error:

" Undefined function 'ft_read_data' for input arguments of type 'char'.

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

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

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

Error while evaluating uimenu Callback '"

I had updated the external/fieldtrip folder from fieldtrip library & Letswave6. Do you know of a way to fix this problem?

Many thanks in advance, Fang

— 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/154, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8aWzu3v49C0wVM8nL_AT5ZgAVI3_ks5uer8RgaJpZM4W5qFP.

ufangYang commented 6 years ago

Hi André, Thanks for your reply. I'd redownloaded the L6 just now, sadly I still got the error msg as following while importing BDF file:

"Invalid MEX-file 'C:\Users\MATLAB\letswave6-master\letswave6-master\external\fieldtrip\ft_getopt.mexw64': The specified module could not be found.

Error in ft_read_data (line 115) hdr = ft_getopt(varargin, 'header');

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

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

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

Error while evaluating uimenu Callback"

Many thanks! Fang

amouraux commented 6 years ago

Can you check whether that file exists (ft_getopt.mexw64)? If so, could you send me the dataset to try to debug this (Fieldtrip) error?

André

On 26 Sep 2018, at 20:40, UFang notifications@github.com<mailto:notifications@github.com> wrote:

Hi André, Thanks for your reply. I'd redownloaded the L6 just now, sadly I still got the error msg as following while importing BDF file:

"Invalid MEX-file 'C:\Users\MATLAB\letswave6-master\letswave6-master\external\fieldtrip\ft_getopt.mexw64': The specified module could not be found.

Error in ft_read_data (line 115) hdr = ft_getopt(varargin, 'header');

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

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

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

Error while evaluating uimenu Callback"

Many thanks! Fang

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/154#issuecomment-424825647, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8bWYcEHK8nPYPE3nXEEBwrKh009Zks5ue8oDgaJpZM4W5qFP.

ufangYang commented 6 years ago

Hi André, In the L6, there is "ft_getopt" file (ft_getopt.mexw64). Here is the link for the dataset : https://www.dropbox.com/s/4shotlkg1jw0wor/TempDist_S05_08_11_13.bdf?dl=0

Please let me know if the link doesn't work, thanks a lot! Fang

amouraux commented 6 years ago

Link does not work? André

On 27 Sep 2018, at 16:07, Fang notifications@github.com<mailto:notifications@github.com> wrote:

Hi André, In the L6, there is "ft_getopt" file (ft_getopt.mexw64). Here is the link for the dataset : https://www.dropbox.com/s/4shotlkg1jw0wor/TempDist_S05_08_11_13.bdf?dl=0

Please let me know if the link doesn't work, thanks a lot! Fang

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/154#issuecomment-425106233, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8fo_m9DNmwAWaZWMYyT0y6GFBsu9ks5ufNuzgaJpZM4W5qFP.

ufangYang commented 6 years ago

May I have your email so I can send it to you? Thank you!

amouraux commented 6 years ago

andre.mouraux@uclouvain.bemailto:andre.mouraux@uclouvain.be

On 2 Oct 2018, at 08:24, Fang notifications@github.com<mailto:notifications@github.com> wrote:

May I have your email so I can send it to you? Thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/154#issuecomment-426162388, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8YqX9lhsCL058j7TCL5OsnalXRXVks5ugwakgaJpZM4W5qFP.

amouraux commented 6 years ago

I just downloaded the BDF file that you sent me, and I was able to import it without any trouble. This must then be something specific to the OS you are using (I am using a Mac), i.e. a bug in the mex file for the Windows platform.

I will try tomorrow on a PC.

André

On 2 Oct 2018, at 09:55, André Mouraux andre.mouraux@uclouvain.be<mailto:andre.mouraux@uclouvain.be> wrote:

andre.mouraux@uclouvain.bemailto:andre.mouraux@uclouvain.be

On 2 Oct 2018, at 08:24, Fang notifications@github.com<mailto:notifications@github.com> wrote:

May I have your email so I can send it to you? Thank you!

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/NOCIONS/letswave6/issues/154#issuecomment-426162388, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALJm8YqX9lhsCL058j7TCL5OsnalXRXVks5ugwakgaJpZM4W5qFP.