Skip to content

Commit

Permalink
Fixed logic for comments in NEV output
Browse files Browse the repository at this point in the history
  • Loading branch information
dkluger committed Oct 4, 2024
1 parent 5125315 commit eb3fc38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NPMK/openNEV.m
Original file line number Diff line number Diff line change
Expand Up @@ -767,10 +767,10 @@
if strcmp(NEV.MetaTags.FileSpec, '3.0')
NEV.Data.Comments.TimeStampStarted = NEV.Data.Comments.TimeStampStarted(colorFlag == 1);
NEV.Data.Comments.TimeStampStartedSec = NEV.Data.Comments.TimeStampStartedSec(colorFlag == 1);
NEV.Data.Comments.TimeStamp = NEV.Data.Comments.TimeStamp(colorFlag == 1);
NEV.Data.Comments.TimeStampSec = NEV.Data.Comments.TimeStampSec(colorFlag == 1);
NEV.Data.Comments.CharSet = NEV.Data.Comments.CharSet(colorFlag == 1);
NEV.Data.Comments.Text = NEV.Data.Comments.Text(colorFlag == 1,:);
NEV.Data.Comments.TimeStamp = NEV.Data.Comments.TimeStamp(colorFlag == 0);
NEV.Data.Comments.TimeStampSec = NEV.Data.Comments.TimeStampSec(colorFlag == 0);
NEV.Data.Comments.CharSet = NEV.Data.Comments.CharSet(colorFlag == 0);
NEV.Data.Comments.Text = NEV.Data.Comments.Text(colorFlag == 0,:);
NEV.Data.Comments.Color = NEV.Data.Comments.Color(colorFlag == 0,:);
end

Expand Down

0 comments on commit eb3fc38

Please sign in to comment.