Skip to content

Commit d2a4c43

Browse files
committed
add some help comments
1 parent 4e504e5 commit d2a4c43

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/saveEventsFile.m

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
%
44
% Function to save output files for events that will be BIDS compliant.
55
%
6+
% USAGE
7+
%
8+
% [logFile] = saveEventsFile('init', [cfg], logFile)
9+
% [logFile] = saveEventsFile('open', [cfg], logFile)
10+
% [logFile] = saveEventsFile('open_stim', [cfg], logFile)
11+
% [logFile] = saveEventsFile('save', [cfg], logFile)
12+
% [logFile] = saveEventsFile('close', cfg, logFile)
13+
%
614
% INPUTS
715
%
816
% logFile:
@@ -326,6 +334,7 @@ function printData(output, data)
326334
end
327335

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

330339
logFile(2:end) = [];
331340

0 commit comments

Comments
 (0)