[FieldTrip] Problem running tutorial
Dillon, Daniel G.
ddillon at mclean.harvard.edu
Thu Aug 22 22:38:36 CEST 2019
Hi everyone. I’m new to FieldTrip and am excited to try it but I can’t get the tutorials started. I’ve downloaded fieldtrip-20190819 and I’m running MATLAB_R2015b. I’m trying to run the “Trigger-based trial selection tutorial” (http://www.fieldtriptoolbox.org/tutorial/preprocessing/), but when I type “ft_definetrial(cfg)” in MATLAB it returns the long error pasted at the end of this email. It looks like there is a problem with the “isfolder” function, and since the warning message points me to the documentation about setting paths (http://bit.ly/2SPPjUS), I also tried re-setting everything by typing this . . .
>> restoredefaultpath
>> addpath /Applications/MATLAB_R2015b.app/toolbox/fieldtrip-20190819/
>> ft_defaults
. . . but I get the same error message. I think this may be a backwards compatibility issue but I’m not sure how to troubleshoot it. Can anyone point me in the right direction?
Thanks!
Dan Dillon
McLean Hospital
Here’s the error message:
Warning: removing
"/Applications/MATLAB_R2015b.app/toolbox/fieldtrip-20190819/compat/matlablt2017b" from your path,
see http://bit.ly/2SPPjUS
> In isfolder (line 21)
In ft_version (line 64)
In ft_preamble_init (line 50)
In ft_preamble (line 83)
In ft_definetrial (line 128)
Error using feval
Undefined function 'isfolder' for input arguments of type 'char'.
Error in isfolder (line 27)
[varargout{1:nargout}] = feval(mfilename, varargin{:});
Error in ft_version (line 64)
issvn = isfolder(fullfile(ftpath, '.svn'));
Error in ft_preamble_init (line 50)
[FjmoT6aA_ft_ver, FjmoT6aA_ft_path] = ft_version;
Error in ft_preamble (line 83)
evalin('caller', full_cmd);
Error in ft_definetrial (line 128)
ft_preamble init
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20190822/cc6e6891/attachment.html>
More information about the fieldtrip
mailing list