[FieldTrip] error ft_nargin

Boomen, C. van den (Carlijn) C.vandenBoomen at uu.nl
Tue May 2 16:26:00 CEST 2017


Dear fieldtrip users,

I'm using fieldtrip to analyse my ERP data. My script used to work (at least until November 2016) but now I get the following error message. I get the same error using singleplotER, which used to work before as well. Does anyone know a solution?

Undefined function or variable 'ft_nargin'.
Error in ft_preamble_init (line 34)
if ft_nargin==0
Error in ft_preamble (line 56)
    evalin('caller', ['ft_preamble_' cmd]);
Error in ft_timelockgrandaverage (line 71)
ft_preamble init
Error in ERP_script_nov2016
(line 532)
            granderp_ind{cond} =
            ft_timelockgrandaverage(cfg,EEGallsubj.incldata{cond,1:end});

I'm using a mac (10.9.5), with matlab 2014b and fieldtrip 20160105 (since some parts of the script didn't work with later versions, I hope to use this version for now)

Thanks a lot!
Best,
Carlijn

Dr. Carlijn van den Boomen | Departments of Developmental and Experimental Psychology | Utrecht University | Langeveld Building - room H066 | Heidelberglaan 1 | 3584 CS Utrecht | the Netherlands | phone: +31(30) 253 1266 | fax: +31(30) 253 4511
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170502/d5230ce2/attachment-0001.html>


More information about the fieldtrip mailing list