<div dir="ltr">Hi all,<div><br></div><div>I'm new to <span class="">fieldtrip</span> so forgive me if my mistake is obvious.</div><div>I want to import my raw, markerless dataset (<a href="http://www.filedropper.com/1_20" target="_blank">http://www.filedropper.com/1_20</a>) with</div><div><br></div><div><div><b>cfg = []; </b></div><div><b>cfg.dataset = '2.bdf';</b></div><div><b>data = ft_preprocessing(cfg)</b></div></div><div><br></div><div>However, I get </div><div><br></div><div><div><i>reading and preprocessing</i></div><div><i>error opening file: 2.bdf</i></div><div><i>One or more output arguments not assigned during call to "read_24bit".</i></div><div><i><br></i></div><div><i>Error in read_biosemi_bdf>readLowLevel (line 274)</i></div><div><i>  buf = read_24bit(filename, offset, numwords);</i></div><div><i><br></i></div><div><i>Error in read_biosemi_bdf (line 242)</i></div><div><i>      buf = readLowLevel(filename, offset, epochlength); % see below in subfunction</i></div><div><i><br></i></div><div><i>Error in ft_read_data (line 321)</i></div><div><i>    dat = read_biosemi_bdf(filename, hdr, begsample, endsample, chanindx);</i></div><div><i><br></i></div><div><i>Error in ft_preprocessing (line 578)</i></div><div><i>      dat = ft_read_data(cfg.datafile, 'header', hdr, 'begsample', begsample,</i></div><div><i>      'endsample', endsample, 'chanindx', rawindx, 'checkboundary',</i></div><div><i>      strcmp(cfg.continuous, 'no'), 'dataformat', cfg.dataformat)</i></div><div><i>Error in Untitled (line 19)</i></div><div><i>data = ft_preprocessing(cfg) </i></div></div><div><br></div><div><br></div><div>Using <b>cfg.trialdef.eventtype  = '?';</b> outputs <i>"no events were found in the datafile"</i> for <b>ft_definetrial</b>
 even for datasets with many markers. Converting to EDF+ did not help as
 it then says <i>"channels with different sampling rate not supported"</i>. 
Specifying only one channel makes no difference. The file itself is fine
 (opens well in BvA).</div><div><br>Defining only one channel to preprocess gives the same error.<br><br></div><div>I couldn't find a solution in the archives, the faq, wiki or documentation.<br></div>I'm using debian stable & matlab 2014a. Same issue at DCC computers running windows & matlab 2013a.<br><div><br><div>Any ideas?<br></div><div><br></div><div>Much appreciated,</div><div>Paul Zerr</div></div></div>