Skip to content
Merged
Show file tree
Hide file tree
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
15 changes: 8 additions & 7 deletions src/saveEventsFile.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
%
% :param action: Defines the operation to do. The different possibilities are
% ``'init'``, ``'open'``, ``'open_stim'``, ``'save'`` or ``'close'``.
% For more information on each case see below.
% For more information on each case see below.
% :type action: string
% :param cfg: Configuration variable. See ``checkCFG()``.
% :type cfg: structure
% :param logFile: (n x 1) The ``logFile`` variable that contains the n events
% you want to save must be a nx1 structure.
% :type logFile: structure
%
%
% .. todo:
% - more details about how to structure the logFile variable
%
Expand Down Expand Up @@ -51,8 +51,8 @@
%
% logFile = saveEventsFile('open', cfg, logFile);
%
% - ``'save'`` will save the data contained in logfile by using the file ID ``logFile.fileID``;
% logfile must then contain:
% - ``'save'`` will save the data contained in logfile by using the file ID
% ``logFile.fileID``; logfile must then contain:
%
% - logFile.onset
% - logFile.trial_type
Expand All @@ -62,9 +62,10 @@
%
% logFile = saveEventsFile('open', cfg, logFile);
%
% - ``'close'`` closes the file with file ID ``logFile.fileID``. If ``cfg.verbose`` is superior
% to ``1`` then this will tell you where the file is located.
%
% - ``'close'`` closes the file with file ID ``logFile.fileID``.
% If ``cfg.verbose`` is superior to ``1`` then this will tell you
% where the file is located.
%
% Example::
%
% logFile = saveEventsFile('close', cfg, logFile)
Expand Down
2 changes: 1 addition & 1 deletion src/utils/returnNbColumns.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
% :param nameExtraColumn: An entry of ``logFile.extraColumns``
% :type nameExtraColumn: string
%
% :returns:
% :returns:
% - :nbCol: (integer) The number of columns associated to one entry of the extra
% column list.
%
Expand Down