Back to the main page.

Bug 2275 - Cannot use ft_read_event for .trg files

Status CLOSED FIXED
Reported 2013-09-07 22:37:00 +0200
Modified 2014-03-12 12:20:29 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 major
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks:
See also:

Dan - 2013-09-07 22:37:47 +0200

Created attachment 513 ANT trigger file Hello, I am trying to read in an ANT trigger file using ft_read_event, but have an error: >> a = ft_read_event('101.trg'); Warning: unsupported event format (eep_trg) > In ft_read_event at 1599 Other info: Trigger file attached. Windows 7, 64 bit Matlab 7.12.0 R2011a, 64 bit FieldTrip version: Sep 3, 2013 Thanks, Dan


Jörn M. Horschig - 2013-09-24 14:50:40 +0200

Hi Dan, indeed this fails, also for my data. The only working way so far is to to a = ft_read_event('101.cnt'); This function will then search for the .trg file and it suddenly works. I will extend ft_read_event though to also work on .trg files directly. I let you know in a bit (about 10 minutes)


Jörn M. Horschig - 2013-09-24 15:30:34 +0200

fixed in the new ft version, available from tomorrow on. You can also call ft_version update from within Matlab. svn ci ft_read_event.m -m "bugfix #2275 - calling with eeptrg file possible now" Sending ft_read_event.m Transmitting file data . Committed revision 8510. thanks for reporting, Dan! If you keep on encountering similar problems, feel free to just open up a new bug.