[FieldTrip] ft_definetrial errors

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Mon Mar 23 19:58:08 CET 2020


Hi Ryan,

I would believe what MATLAB tells you, and doublecheck the path :). As it
doesn't start with a slash (/) it will use it relative to your current
directory (type 'pwd' in MATLAB), or check the bar in the top of the GUI
somewhere.
One way to check is to type something like: dir(YourPathAndFileName); and
see if it can find your file.
Best is to use an absolute path here, i.e. starting with either ~/ (for
your home), or even C:/ (for your C drive root) and go from there.
The other errors are a consequences of the first error, so you can ignore
those.

Cheers,
STephen

Op ma 23 mrt. 2020 om 19:47 schreef Ryan Priefer <rpriefer at adelphi.edu>:

> I was just working through the scripts you sent (thank you sooo much. Just
> having it all together like this is already bounds better than where I was
> before). That said I have already run into some issues since my experience
> with MATLAB is very primitive..
> Hello all,
>
> We are very new to fieldtrip and troubleshooting Matlab code in general
> (we are used to GUIs!). We have a pipeline set up now via fieldtrip that we
> adapted from a colleague but are running into some issues when trying to
> adapt it to our own needs.
>
> For some reason I am getting this error after trying to run the define
> trial portion:
> I have copied the exact path for the file so I am unsure why that "doesn't
> exist"
> The other two errors escape me entirely.
> [image: Screen Shot 2020-03-20 at 2.29.45 PM.png]
>
> I have read extensively the fieldtrip walkthroughs and tutorials online
> and we did not feel they addressed the problems we are currently
> experiencing.
> Thanks all for the patience,
>
> --
> Ryan Priefer
> Lab Technical Coordinator
> Communication Sciences and Disorders
> t: 516.877.6787
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200323/dabfeca1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-03-20 at 2.29.45 PM.png
Type: image/png
Size: 177253 bytes
Desc: not available
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200323/dabfeca1/attachment-0001.png>


More information about the fieldtrip mailing list