help > RE: Event-related conditions with batch
Apr 5, 2020  12:04 AM | Alfonso Nieto-Castanon - Boston University
RE: Event-related conditions with batch
Hi Kaitlin,

Yes, the 1-contrast-only issue should be fixed by changing the line:

   for Con=1:length(nconditions)

to:

   for Con=1:nconditions

The 1-sesssion-only issue may be caused by not yet having defined/entered the functional data in your project. Sorry CONN expects you to enter the functional data before defining the condition information (mainly because the functional data is used to derive the number of sessions for each subject in your dataset, as well as the session length for each subject/session, which are needed to properly interpret your onset/duration information). If that is the case, simply using batch.Setup.functionals to define your functional data (either ini this same batch, or before running this batch) should fix this issue.

Best
Alfonso
Originally posted by Kaitlin Cassady:
Hi Alfonso,

Thanks! This loaded in the first session for the first condition for both subjects! However, for some reason, it's not adding in all 7 conditions (only 1) and it's not adding in the second session. I'm attaching one subject's condition/onset .mat file for your reference (I'm not able to attach both subjects' data, only one). Do you know what the problem might be?

Thank you!

Threaded View

TitleAuthorDate
Kaitlin Cassady Mar 27, 2020
Alfonso Nieto-Castanon Mar 27, 2020
Kaitlin Cassady Mar 27, 2020
Alfonso Nieto-Castanon Mar 28, 2020
Kaitlin Cassady Mar 28, 2020
RE: Event-related conditions with batch
Alfonso Nieto-Castanon Apr 5, 2020
Kaitlin Cassady Apr 7, 2020
Kaitlin Cassady Apr 8, 2020