Skip to content

Commit 442eec1

Browse files
committed
cfg.task name correction
1 parent 7e851ed commit 442eec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ sub-090/ses-003/sub-090_ses-003_task-auditoryTask_run-023_events_date-2020072915
5656
cfg.outputDir = fullfile(pwd, '..', 'output');
5757
5858
% define the name of the task
59-
cfg.task = 'test task';
59+
cfg.task.name = 'test task';
6060
6161
% can use the userInputs function to collect subject info
6262
% cfg = userInputs;
@@ -111,7 +111,7 @@ If you want to save more complex events.tsv file you can save several columns at
111111
```matlab
112112
cfg.subjectNb = 1;
113113
cfg.runNb = 1;
114-
cfg.task = 'testtask';
114+
cfg.task.name = 'testtask';
115115
cfg.outputDir = outputDir;
116116
117117
cfg.testingDevice = 'mri';

0 commit comments

Comments
 (0)