[FieldTrip] Installation- Unrecognized function?

Karen Konkoly karenkonkoly at gmail.com
Sat Oct 24 03:02:33 CEST 2020


Thank you! I think in the end, I downloaded the wrong folder. I downloaded
a new one and it is sort of working better, although it still will not run
functions (like eeglab2fieldtrip) that are in subdirectories of field trip!

On Fri, Oct 23, 2020 at 11:35 AM Schoffelen, J.M. (Jan Mathijs) <
jan.schoffelen at donders.ru.nl> wrote:

> Hi Karen,
>
>
> with overloaded, I mean that there are more functions with the same name.
> isfield is a built-in matlab function, and it typically does not return an
> error with a specified line (which is opposed to what was suggested by your
> pasted error message).
>
> I think the best way forward, would be to change into the directory of
> your downloaded fieldtrip version, and then try ft_defaults, after you have
> typed restoredefaultpath.
>
> Best wishes,
> JM
>
>
>
>
> On 23 Oct 2020, at 17:44, Karen Konkoly <karenkonkoly at gmail.com> wrote:
>
> Hi Jan-Mathijs,
>
> 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.
>
> Best,
> Karen
>
> On Fri, Oct 23, 2020 at 10:22 AM Schoffelen, J.M. (Jan Mathijs) <
> jan.schoffelen at donders.ru.nl> wrote:
>
>> Hi Karen,
>>
>> 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?
>>
>> Best wishes,
>> Jan-Mathijs
>>
>>
>> > On 23 Oct 2020, at 05:08, Karen Konkoly <karenkonkoly at gmail.com> wrote:
>> >
>> > Hi,
>> >
>> > 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).
>> >
>> > But, when I try to run ft_defaults to continue the installation, I get
>> the following error:
>> >
>> >  "Error in isfield (line 26)
>> > y = isfield(x(1).value, key);
>> >
>> > Error in ft_defaults (line 94)
>> > if ~isfield(ft_default, 'trackconfig'),       ft_default.trackconfig
>> > = 'off';      end % cleanup, report, off"
>> >
>> > And the other functions of fieldtrip do not work (I am trying to use
>> freqanalysis). Does anyone know how I can fix this?
>> >
>> > Best,
>> > Karen
>> > _______________________________________________
>> > fieldtrip mailing list
>> > https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> > https://doi.org/10.1371/journal.pcbi.1002202
>>
>>
>> _______________________________________________
>> fieldtrip mailing list
>> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>> https://doi.org/10.1371/journal.pcbi.1002202
>>
> _______________________________________________
> fieldtrip mailing list
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
> https://doi.org/10.1371/journal.pcbi.1002202
>
>
> _______________________________________________
> 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/20201023/50a2dba5/attachment.htm>


More information about the fieldtrip mailing list