Error: checkdata at 381 This function requires raw data as input

jan-mathijs schoffelen jan.schoffelen at DONDERS.RU.NL
Fri May 7 16:18:27 CEST 2010


Adding to Roemer's questions:

What is the fieldtrip version you are using?
Next to this, it is also insightful/helpful to look into what causes
the error yourself: if you type dbstop if error on the command line,
when the function crashes you end up within the local workspace of the
crashing function,  allowing you to investigate the cause of your error.

Best,

Jan-Mathijs

On May 7, 2010, at 4:12 PM, Roemer van der Meij wrote:

> Hi Natalia,
>
> Could you post the cfg-settings you use when calling ft_freqanalysis
> and the full matlab error output? This will help us track down the
> cause of the error. Also, did you use ft_appenddata for appending
> your recordings or did you do it by hand?
>
> Best,
> Roemer
>
>
>
>
> On 5/7/2010 4:06 PM, Natalia Grion wrote:
>> Dear all,
>>          I have this error when running freqanalysis:
>> ??? Error using ==>  checkdata at 381
>> This function requires raw data as input.
>> My data comes from a preprocessing procedure where i just append
>> daily
>> sessions with 8 channel lfp recordings and several trials from the
>> same
>> subject) and it has this shape:
>>
>>         hdr: [1x1 struct]
>>       label: {8x1 cell}
>>       trial: {1x349 cell}
>>        time: {1x349 cell}
>>     fsample: 2003
>>         cfg: [1x1 struct]
>>
>> when i run checkdata alone I obtain the message i expect:
>> B =  checkdata( data, 'datatype', 'raw', 'feedback', 'yes',
>> 'hasoffset','yes');
>> the input is raw data with 8 channels and 349 trials
>> This error message sounds odd to me as I never had this problem in
>> the past.
>> I changed to Matlab 2009a in a 64bit win system (Could this info
>> help to
>> solve the problem?)
>> Any idea?
>> Thanks in advance.
>> Natalia
>>
>>
>>
>>
>> ----------------------------------------------------------------
>>   SISSA Webmail https://webmail.sissa.it/
>>   Powered by SquirrelMail http://www.squirrelmail.org/
>>
>> ----------------------------------
>> The aim of this list is to facilitate the discussion between users
>> of the FieldTrip  toolbox, to share experiences and to discuss new
>> ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html
>>  and http://www.ru.nl/neuroimaging/fieldtrip.
>>
>
> --
> Roemer van der Meij MSc
> Scientific Programmer&  Data-Analyst
> Donders Institute for Brain, Cognition and Behaviour
> Centre for Cognition
> P.O. Box 9104
> 6500 HE Nijmegen
> The Netherlands
> Tel: +31(0)24 3612631
> E-mail: r.vandermeij at donders.ru.nl
>
> ----------------------------------
> The aim of this list is to facilitate the discussion between users
> of the FieldTrip  toolbox, to share experiences and to discuss new
> ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html
>  and http://www.ru.nl/neuroimaging/fieldtrip.

Dr. J.M. (Jan-Mathijs) Schoffelen
Donders Institute for Brain, Cognition and Behaviour,
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands
J.Schoffelen at donders.ru.nl
Telephone: 0031-24-3668063

----------------------------------
The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list