[FieldTrip] Problem with timelockanalysis

Amira Korkor amira.korkor at gmail.com
Mon Mar 23 18:41:29 CET 2020


Hello,
I am new to Fieldtrip and this forum so please feel free to let me know if
the information I'm providing is sufficient to answer my question. I'm
having trouble with the timelockanalysis function as below. Does anyone
know why this might be happening?
Thanks for your help,
Amira

I'm running the following script in MATLAB_R2018b / fieldtrip-20181231. I
have tried running it on multiple older versions of Fieldtrip and gotten
similar errors:
*ERP(cond_i).erps(part_i) = ft_timelockanalysis (cfg, EEG_ft);*

and receiving the following error:










*Error using tabular/reshape (line 194)Undefined function 'reshape' for
input arguments of type 'table'.Error in ft_selectdata>squeezedim (line
1220)  x = reshape(x, [siz(~dim) 1]);Error in ft_selectdata (line 381)
varargin{i}.(datfield{j}) = squeezedim(varargin{i}.(datfield{j}),
~keepdim);Error in ft_timelockanalysis (line 195)data   =
ft_selectdata(tmpcfg, data);*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200323/df3d8039/attachment.htm>


More information about the fieldtrip mailing list