How do I install fieldtrip toolbox

40 ビュー (過去 30 日間)
Aleksandra
Aleksandra 2013 年 1 月 31 日
コメント済み: Paulina Maria 2022 年 8 月 30 日
I am trying to install the fieldtrip toolbox but it doesn't work.
I have followed the instructions on the fieldtrip webiste http://fieldtrip.fcdonders.nl/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path but when I use addpath I keep getting a followig error message:
>> addpath Z:\EigeneDokumente\MATLAB\fieldtrip-20130129
Warning: Name is nonexistent or not a directory:
Z:\EigeneDokumente\MATLAB\fieldtrip-20130129
> In path at 110
In addpath at 87
What am I doing wrong and how do I install the fieldtrip toolbox (any toolbox?) in MATLAB?

採用された回答

Jan
Jan 2013 年 1 月 31 日
編集済み: Jan 2013 年 1 月 31 日
Matlab tries to be very smart sometimes. Perhaps the '-' is interpreted as minus. Please try:
addpath('Z:\EigeneDokumente\MATLAB\fieldtrip-20130129')
and usually there is a space between "Eigene" and "Dokumente". But the error message actually looks like the '-20130129' part has been accepted as part of the string correctly.

その他の回答 (4 件)

Wendy Fullam
Wendy Fullam 2019 年 12 月 12 日
編集済み: Wendy Fullam 2019 年 12 月 12 日
If you are using MATLAB R2016a or later, you can do this without leaving MATLAB.
Whether you need additional toolboxes, apps, hardware support packages, or community submissions, you can easily browse and find what you’re looking for using the Add-On Explorer. Learn more here.
Add-ons extend the capabilities of MATLAB. Find add-ons for your task, no matter what you’re working on.
Try searching for "fieldtrip" from within the explorer!
  1 件のコメント
Paulina Maria
Paulina Maria 2022 年 8 月 30 日
How do I run it from here?

サインインしてコメントする。


Shashank Prasanna
Shashank Prasanna 2013 年 1 月 31 日
This is a 3rd party toolbox
You should probably contact: http://fieldtrip.fcdonders.nl/contact
To start with I would think you should check if "Z:\EigeneDokumente\MATLAB\fieldtrip-20130129" actually exists at all.

Aleksandra
Aleksandra 2013 年 2 月 7 日
Thank you for your answers! It seems that it was the - problem cause now everything works ok.

mohamed issa
mohamed issa 2018 年 6 月 3 日
how do i fix this error ft_definetrial(cfg); Warning: file or directory "ArtifactMEG.ds" does not exist, could not determine fileformat Warning: file or directory "ArtifactMEG.ds" does not exist, could not determine fileformat Warning: file or directory "ArtifactMEG.ds" does not exist, could not determine fileformat Warning: no trialfun was specified, using ft_trialfun_general evaluating trialfunction 'ft_trialfun_general' reading the header from 'ArtifactMEG.ds' Error using ft_read_header (line 202) file or directory 'ArtifactMEG.ds' does not exist
Error in ft_trialfun_general (line 84) hdr = ft_read_header(cfg.headerfile, 'headerformat', cfg.headerformat);
Error in ft_definetrial (line 178) [trl, event] = feval(cfg.trialfun, cfg);
  1 件のコメント
Daniel M
Daniel M 2020 年 4 月 24 日
You didn't download their example dataset called 'ArtifactMEG.ds'. Therefore, MATLAB could not access the file because it does not exist.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by