[FieldTrip] read write MarkerFile.mrk file

Vasily Vakorin vasenka at gmail.com
Tue Mar 18 19:02:47 CET 2014


I am trying to modify file MarkerFile.mrk, using function readmarkerfile.m
and writeMarkerFile.m.

Function readmarkerfile.m create a structure with four fields:
number_markers, number_samples,  marker_names, trial_times.

However, function writeMarkerFile.m requires another field: ClassGroupId
(only 0 and 3 are allowed).

Any suggestions on how to create the "right" structure for
writeMarkerFile.m ?

Thank you,
Vasily
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20140318/527b5f98/attachment-0001.html>


More information about the fieldtrip mailing list