|
10 | 10 | % |
11 | 11 | % :param action: Defines the operation to do. The different possibilities are |
12 | 12 | % ``'init'``, ``'open'``, ``'open_stim'``, ``'save'`` or ``'close'``. |
13 | | - % For more information on each case see below. |
| 13 | + % For more information on each case see below. |
14 | 14 | % :type action: string |
15 | 15 | % :param cfg: Configuration variable. See ``checkCFG()``. |
16 | 16 | % :type cfg: structure |
17 | 17 | % :param logFile: (n x 1) The ``logFile`` variable that contains the n events |
18 | 18 | % you want to save must be a nx1 structure. |
19 | 19 | % :type logFile: structure |
20 | | - % |
| 20 | + % |
21 | 21 | % .. todo: |
22 | 22 | % - more details about how to structure the logFile variable |
23 | 23 | % |
|
51 | 51 | % |
52 | 52 | % logFile = saveEventsFile('open', cfg, logFile); |
53 | 53 | % |
54 | | - % - ``'save'`` will save the data contained in logfile by using the file ID ``logFile.fileID``; |
55 | | - % logfile must then contain: |
| 54 | + % - ``'save'`` will save the data contained in logfile by using the file ID |
| 55 | + % ``logFile.fileID``; logfile must then contain: |
56 | 56 | % |
57 | 57 | % - logFile.onset |
58 | 58 | % - logFile.trial_type |
|
62 | 62 | % |
63 | 63 | % logFile = saveEventsFile('open', cfg, logFile); |
64 | 64 | % |
65 | | - % - ``'close'`` closes the file with file ID ``logFile.fileID``. If ``cfg.verbose`` is superior |
66 | | - % to ``1`` then this will tell you where the file is located. |
67 | | - % |
| 65 | + % - ``'close'`` closes the file with file ID ``logFile.fileID``. |
| 66 | + % If ``cfg.verbose`` is superior to ``1`` then this will tell you |
| 67 | + % where the file is located. |
| 68 | + % |
68 | 69 | % Example:: |
69 | 70 | % |
70 | 71 | % logFile = saveEventsFile('close', cfg, logFile) |
|
0 commit comments