I think there is a bug here: '_task-' char(files(iSubj).task(iRun)) should be '_task-' char(files(iSubj).task(iSet)). My study has multiple sessions, multiple tasks and multiple runs. But this line (iRun) overwrites the old task with my newtask-XX_run-XX.
Hi,
I think there is a bug here: '_task-' char(files(iSubj).task(iRun)) should be '_task-' char(files(iSubj).task(iSet)). My study has multiple sessions, multiple tasks and multiple runs. But this line (iRun) overwrites the old task with my newtask-XX_run-XX.
Best regards, Cheng-Teng