<div dir="ltr"><div>Hi Jan-Mathijs, </div><div><br></div><div>Thanks for your response! The first part of the error was "Index exceeds the number of array elements (0)." And there were a bunch of warnings before it. What do you mean by overloaded version? I just searched my computer, and it seems that this might also be a function in eeglab. What do you think I should do in that case? I tried taking eeglab off my path, but I still got the same error. </div><div><br></div><div>Best, <br>Karen</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 23, 2020 at 10:22 AM Schoffelen, J.M. (Jan Mathijs) <<a href="mailto:jan.schoffelen@donders.ru.nl" target="_blank">jan.schoffelen@donders.ru.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Karen,<br>
<br>
The error message you pasted is incomplete it seems, so it is not clear from a distance what went wrong. Do you by any chance have an overloaded version of an isfield.m function on your matlab path?<br>
<br>
Best wishes,<br>
Jan-Mathijs<br>
<br>
<br>
> On 23 Oct 2020, at 05:08, Karen Konkoly <<a href="mailto:karenkonkoly@gmail.com" target="_blank">karenkonkoly@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> I have downloaded fieldtrip and copied the folder into my matlab folder, and added the "fieldtrip toolbox" folder to my path (but not subfolders, as I read that they would be opened individually, as needed). <br>
> <br>
> But, when I try to run ft_defaults to continue the installation, I get the following error: <br>
> <br>
>  "Error in isfield (line 26)<br>
> y = isfield(x(1).value, key);<br>
> <br>
> Error in ft_defaults (line 94)<br>
> if ~isfield(ft_default, 'trackconfig'),       ft_default.trackconfig<br>
> = 'off';      end % cleanup, report, off" <br>
> <br>
> And the other functions of fieldtrip do not work (I am trying to use freqanalysis). Does anyone know how I can fix this? <br>
> <br>
> Best, <br>
> Karen<br>
> _______________________________________________<br>
> fieldtrip mailing list<br>
> <a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
> <a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
<br>
<br>
_______________________________________________<br>
fieldtrip mailing list<br>
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<a href="https://doi.org/10.1371/journal.pcbi.1002202" rel="noreferrer" target="_blank">https://doi.org/10.1371/journal.pcbi.1002202</a><br>
</blockquote></div>