<div dir="ltr">Hello,<div>I am a novice in fieldtrip. Trying to learn it for my EEG analysis, on my own. I don't have any local group with whom I can discuss the problems I am facing here. I am trying to import continuous data into the fieldtrip for ft_preprocessing. Since I need to do ft_definetrial first for which I need to know the eventtype and eventvalues first, I tried calling ft_definetrial with cfg.dataset. </div><div>I gave the following command:</div><div>cfg = [];<br></div><div>cfg.dataset = '1_MD_1_edtd.set';<br>cfg.trialdef.eventtype = '?';<br>ft_definetrial(cfg);</div><div><br></div><div>But I am getting the following error: </div><div>Error using ft_trialfun_show (line 56)<br></div><div>file or directory '1_MD_1_edtd.set' does not exist<br><br>Error in ft_definetrial (line 199)<br> [trl, event] = feval(cfg.trialfun, cfg);<br clear="all"><div><br></div><div>I then tried specifying the filepath with the following command:</div><div>cfg = [];<br>cfg.dataset = 'F:\data_fldtrp\1_MD_1_epochs.set';<br>cfg.trialdef.eventtype = '?';<br>ft_definetrial(cfg);<br></div><div><br></div><div>But I am still getting the same error. How to write cfg.dataset = 'F:\data_fldtrp\1_MD_1_epochs.set'; so that fieldtrip can find the file? </div><div><br></div><div>Will be highly obliged if you can help me understand how to import data into fieldtrip.</div><div>Thanking you,</div><div>Moumita</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Moumita Bhowmick</div><div dir="ltr">PhD student <div>School of Cognitive Science,</div><div>Jadavpur University</div></div></div></div></div></div></div>