Skip to content

Commit

Permalink
FIX - reading of events from openvibe_mat
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Jun 1, 2023
1 parent 2da7590 commit 505bf89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fileio/private/openvibe_mat.m
Expand Up @@ -80,10 +80,10 @@

elseif needevt
evt = struct();
for i=1:size(stims,1)
for i=1:size(ov.stims,1)
evt(i).type = 'trigger';
evt(i).sample = round(stims(i,1)*hdr.Fs+1);
evt(i).value = stims(i,2);
evt(i).sample = round(ov.stims(i,1)*hdr.Fs+1);
evt(i).value = ov.stims(i,2);
evt(i).offset = 0;
evt(i).duration = 0;
end
Expand Down

0 comments on commit 505bf89

Please sign in to comment.