<div dir="ltr"><div><div><div><div>I am trying to modify file MarkerFile.mrk, using function readmarkerfile.m and writeMarkerFile.m.<br><br> Function readmarkerfile.m create a structure with four fields:  number_markers, number_samples,  marker_names, trial_times.<br>
<br></div>However, function writeMarkerFile.m requires another field: ClassGroupId (only 0 and 3 are allowed).<br><br></div>Any suggestions on how to create the "right" structure for  writeMarkerFile.m ?<br><br>
</div>Thank you,<br></div>Vasily<br></div>