Skip to content

Commit 3b6f936

Browse files
committed
Update onl_peek.m
fixed typo in accessing srate
1 parent 9c65e10 commit 3b6f936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/online_analysis/onl_peek.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@
8080
% update meta-data
8181
[chunk.nbchan,chunk.pnts,chunk.trials] = size(chunk.data);
8282
chunk.chanlocs = chunk.chanlocs(channels_to_get);
83-
chunk.xmax = chunk.xmin + (chunk.pnts-1)/buf.srate;
83+
chunk.xmax = chunk.xmin + (chunk.pnts-1)/chunk.srate;

0 commit comments

Comments
 (0)