[FieldTrip] 4D data reading problem

alotof eve alotof_xd at yahoo.com
Sat Sep 3 04:27:59 CEST 2011


Hello experts!

I need help on 4D data reading with ft_read_header.
When I type hdr = ft_read_header('e,rfhp1.0Hz,COH)
It always shows such error: 

??? Error using ==> _colonobj
Function '_colonobj' is not defined for values of class 'uint32'.

Error in ==> C:\MATLAB6p5\toolbox\fieldtrip-20110420\fileio\private\read_4d_hdr.m
On line 105  ==>     for event = 1:header.epoch_data(epoch).total_var_events

Error in ==> C:\MATLAB6p5\toolbox\fieldtrip-20110420\fileio\ft_read_header.m
On line 153  ==>     orig            = read_4d_hdr(datafile);

I checked into the program and I am sure the error is from 

"for event = 1:header.epoch_data(epoch).total_var_events" which is line 153 in read_4d_hdr.m

I tracked and got information before this sentence that in this data, epoch = [1, 2, 3, 4, 5];
epoch_data(epoch).total_var_events = [65536, 1.6511e+009, 0, 0, 0];

Cannot understand why it said "Function '_colonobj' is not defined for values of class 'uint32'."

Any suggestions to settle this?

Thanks,
Eve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20110902/9840ea46/attachment.html>


More information about the fieldtrip mailing list