User Tools

Site Tools


matlab:matlab_fieldtrip

This is an old revision of the document!


MATLAB FieldTrip

http://www.fieldtriptoolbox.org/faq/should_i_add_fieldtrip_with_all_subdirectories_to_my_matlab_path/

The issue with functions from /external replacing original MATLAB functions:

http://www.fieldtriptoolbox.org/faq/can_i_prevent_external_toolboxes_from_being_added_to_my_matlab_path/

Use the following in your custom startup.m

addpath('Y:\Sources\fieldtrip-20190130'); % or other path to fieldtrip
ft_defaults
 
[ftver, ftpath] = ft_version;
rmpath(fullfile(ftpath, 'external', 'signal'))
rmpath(fullfile(ftpath, 'external', 'stats'))
rmpath(fullfile(ftpath, 'external', 'images'))

or execute https://github.com/dagdpz/test_FT/blob/master/test_FT_initialize.m on clean MATLAB path (i.e. without added FieldTrip)

matlab/matlab_fieldtrip.1551289128.txt.gz · Last modified: 2022/12/29 07:15 (external edit)