besa2fieldtrip problems

Robert Oostenveld r.oostenveld at FCDONDERS.RU.NL
Mon Apr 3 22:13:24 CEST 2006


On 1 Apr 2006, at 2:02, Stephan Bickel wrote:

> ??? Error using ==> colon
> First and last colon operands must be char.
>
> Error in ==> fieldtrip-20060330\private\read_besa_tfc at 73
> Time =
> [TimeStartInMS:TimeIntervalInMS:(NumberTimeSamples-1)
> *TimeIntervalInMS+TimeStartInMS];
>
> Error in ==> besa2fieldtrip at 81
>   [ChannelLabels, Time, Frequency, Data, Info] = read_besa_tfc
> (filename);

There may be a difference in the version of your TFC file and the one
that the importer was written for. I suggest that you use the Matlab
debugger to put a breakpoint at line 81 in the code, and look at the
value of TimeStartInMS. It seems not to be a regular number, which it
is supposed to be.

> I might have made some stupid mistake but can anyone see what went
> wrong?

If you cannot figure it out using the debugger, send me one of your
tfc files (not through the mailing listm but direct).

best regards,
Robert



More information about the fieldtrip mailing list