Back to the main page.
Bug 655 - ft_defintrial at central storage of donders crashes after last nights update
| Status | CLOSED FIXED |
| Reported | 2011-05-11 14:15:00 +0200 |
| Modified | 2011-07-13 14:46:45 +0200 |
| Product: | FieldTrip |
| Component: | fileio |
| Version: | unspecified |
| Hardware: | Other |
| Operating System: | Linux |
| Importance: | P1 normal |
| Assigned to: | |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
rené scheeringa - 2011-05-11 14:15:07 +0200
Since last nights update ft_definetrial crashes using the buildt-in simple trial definition (e.g. based on a trigger alone, so no own trial definition). This code worked yesterday. The code I used is: %P1_b2_left event = ft_read_event('/home/language/rensch/CA/EEG/P1/P1_b2_cue_left.vmrk'); cfg=[]; cfg.dataset ='/home/language/rensch/CA/EEG/P1/P1_b2_cue_left.eeg'; cfg.trialdef.eventtype = 'Stimulus'; cfg.trialdef.eventvalue = 'S 7'; cfg.trialdef.prestim = 0.6; cfg.trialdef.poststim = 2.7; cfg=ft_definetrial(cfg); This generates the folowing error message: ??? Error using ==> iscell Not enough input arguments. Error in ==> trialfun_general at 124 if iscell() Error in ==> ft_definetrial at 140 [trl, event] = feval(cfg.trialfun, cfg);
Robert Oostenveld - 2011-05-11 16:19:23 +0200
roboos@mentat001> svn commit trialfun/trialfun_general.m Sending trialfun/trialfun_general.m Transmitting file data . Committed revision 3520. Ik heb het op je data getest, en krijg nu >> ft_definetrial(cfg); Warning: no trialfun was specified, using trialfun_general > In ft_definetrial at 97 evaluating trialfunction 'trialfun_general' reading the events from '/home/language/rensch/CA/EEG/P1/P1_b2_cue_left.vhdr' found 334 events created 31 trials Wat me wel aannemelijk lijkt.