why can't Matlab find Fieldtrip?
4 views (last 30 days)
Show older comments
I have downloaded the Fieldtrip toolbox and loaded it into the Matlab R2020a. But when I enter 'fieldtrip' in the command window, it doesn't work.

0 Comments
Accepted Answer
Cris LaPierre
on 13 Jul 2021
Have you correctly added the necessary subdirecties to your MATLAB path according to these instructions?
Are you using the tool as intended? From the tutorials, there does not appear to be a fieldtrip function. I suggest going through the Walkthrough page, as well as the introductory tutorial.
4 Comments
Stephen23
on 14 Jul 2021
"I have added all of the subdirectories to Matlab by the function 'setting path'. "
The fieldtrip documentation here
specifically states "In general you should not add FieldTrip with all subdirectories to your path" and explains that adding all of the subdirectories can cause problems using the toolbox. It is worth noting that the documentation download page links to the FAQ clearly states "After downloading, you can follow the instructions in this frequently asked question for setting up the MATLAB path."
You are likely to have a lot of problems using the toolbox if you do not follow its instructions.
More Answers (0)
See Also
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!