Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/saveEventsFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
%
% Function to save output files for events that will be BIDS compliant.
%
% USAGE
%
% [logFile] = saveEventsFile('init', [cfg], logFile)
% [logFile] = saveEventsFile('open', [cfg], logFile)
% [logFile] = saveEventsFile('open_stim', [cfg], logFile)
% [logFile] = saveEventsFile('save', [cfg], logFile)
% [logFile] = saveEventsFile('close', cfg, logFile)
%
% INPUTS
%
% logFile:
Expand Down Expand Up @@ -326,6 +334,7 @@ function printData(output, data)
end

function logFile = resetLogFileVar(logFile)
% removes the content of all the events from (2:end)

logFile(2:end) = [];

Expand Down