[FieldTrip] Problem with ft_preprocessing and printor function
Schoffelen, J.M. (Jan Mathijs)
jan.schoffelen at donders.ru.nl
Tue Mar 17 09:45:12 CET 2020
Hi Johannes,
I recommend you to read a bit on the website about how to read in data in general, and to consult in more detail the getting started sections:
http://www.fieldtriptoolbox.org/getting_started/neuralynx_fcdc/
http://www.fieldtriptoolbox.org/getting_started/neuralynx/
The syntax you used for ft_preprocessing is incorrect, since the second input argument is never a filename.
Also, I suggest to stick, wherever possible to the high-level functions, i.e. ft_preprocessing, rather than ft_read_data, or preproc.
Best wishes,
Jan-Mathijs
On 17 Mar 2020, at 00:38, Lang, Johannes <Johannes.Lang at uk-erlangen.de<mailto:Johannes.Lang at uk-erlangen.de>> wrote:
Hello there!
I’m pretty new to fieldtrip and recently ran into a problem that I don‘t know how to solve:
When calling the ft_preproc function I keep getting this message:
Undefined function 'printor' for input arguments of type 'cell'.
Error in ft_checkdata (line 521)
typestr = printor(dtype, true);
Error in ft_preprocessing (line 281)
data = ft_checkdata(data, 'datatype', {'raw+comp', 'raw'}, 'hassampleinfo', 'yes');
Error in draft_1_3 (line 34)
[C3_temp] = ft_preprocessing(cfg, 'C3_.ncs');
I read the files using the ft_read_data(‘myfile.ncs’)
Which returns a double.
Does anyone know what I’m doing wrong?
Thanks!
jd
_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip
https://doi.org/10.1371/journal.pcbi.1002202
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200317/23d000dc/attachment.htm>
More information about the fieldtrip
mailing list