read_eep_trg

read_eep_trg - function [trg] = read_eep_trg(fn); %...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
function [trg] = read_eep_trg(fn); % READ_EEP_TRG reads triggers from an EEProbe *.trg file % % This function returns an Nx1 array with the N triggers % % [trg] = read_eep_trg(filename) % % trg(i).time ... trigger latency in ms % trg(i).offset . .. byte offset % trg(i).code ... trigger code (string) % trg(i).type ... numeric value of trg.code % % where i as number between 1 and N (the number of triggers found) % % An EEProbe trigger file is formatted like % 0.00195312 256 % 0.000 10350 __ % 17.033 2242926 1 % 20.535 2701934 5 % 21.096 2775406 13 % 21.098 2775662 8 % ... % where the first column is the trigger latency in seconds, the second % column is the byte offset in the file and the third column is the triggercode. % The triggercode can be numeric or a string. The first line of the file contains the % sample duration. % % Author: Robert Oostenveld, Aalborg University, Denmark, 11 March 2003 % % See also READ_EEP_CNT, READ_EEP_REJ, READ_EEP_AVR % % Copyright (C) 2002, Robert Oostenveld
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/03/2010 for the course ENG 42325 taught by Professor Lagerstrom during the Spring '10 term at UC Davis.

Page1 / 2

read_eep_trg - function [trg] = read_eep_trg(fn); %...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online