On Fri, 8 Sep 2006, Joerg Magerkurth wrote:
> I trying to find a solution for a script wich contains an automated spm5
> segmentation of a 3D analyze file.
> The files are allways named "anatomy.*". A perl script should start a
> matlabjob which makes a segmention. I think, the best way is using the
> batch-utility of spm5. But how can I use the resulting mat-file in a
> shell command?
If you save your batch into an .xml file instead of a .mat you will be
able to work with it more easily. You will have to call matlab with
something like
matlab -r "spm fmri;loadxml YOUR.XML;spm_jobman('run',jobs);exit"
>
> As far as I understand is there another option using the command
> spm_segment. If someone using this routine and could provide a example.
>
> With best regards Jörg
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|