For group there is a code but for single I have not seen yet. Actually each time I need to implement DCM, I define the model space for a single subject with GUI and then change the parameters for each subject in the group with that template. I can write a code to the the model space definition for a single subject but I don't think it is acceptable from a neuroscientist's point of view. You have to know why each model is included in the model space specifically. Best, On Thu, Oct 15, 2015 at 2:37 AM, Andy Yeung <[log in to unmask]> wrote: > Thank you Arash for suggesting writing a code for a single subject. > I'm no good at coding. Is there a template available in SPM or online? > > Best, > Andy > > On Wed, Oct 14, 2015 at 7:22 PM, Arash Z. Sadeghi <[log in to unmask]> > wrote: > >> Hi, >> If you mean specifying DCMs for a group, first you have to specify DCMs >> for a single subject and there is a code to automatically specify those for >> the whole group. >> If you mean specifying DCMs for a single subject, just write a code to >> change the matrices and rename the mat file. It will work fine. >> Best, >> >> On Wed, Oct 14, 2015 at 1:19 PM, Andy Yeung <[log in to unmask]> >> wrote: >> >>> Dear all SPM users, >>> >>> May I know if there's a script/method to create all/multiple possible >>> DCMs in an automated way instead of clicking the small buttons in DCM GUI? >>> I'm afraid of clicking the wrong buttons or naming the DCM files wrongly. >>> >>> I have 3 nodes (A, B, C), all bilateral intrinsic connections, node A >>> receiving driving input. >>> But the modulatory input can insert in various plausible connections. >>> >>> Best, >>> Andy >>> >> >> >> >> -- >> Arash Z. Sadeghi >> PHD candidate of Biomedical Engineering >> Tehran University of Medical Sciences >> Researcher in Imam Hospital, Imaging Center, NIAG. >> > > -- Arash Z. Sadeghi PHD candidate of Biomedical Engineering Tehran University of Medical Sciences Researcher in Imam Hospital, Imaging Center, NIAG.