On Fri, 9 Dec 2005, Dianne Patterson wrote:
> It is easy to define and save a batch job in spm5 as a mat file.
> Subsequently, one can load this mat file at the matlab prompt.
>
> >>load myjob.mat
>
> Can someone tell me if I can run this mat file at the matlab command prompt?
> I know one can start the gui and click the run button...but I want to know
> if I HAVE to use the run button, or if I can do this directly from the
> matlab command line.
After you loaded the job, you can type (or use in a script)
spm_jobman('run',job)
Hope this helps,
--
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
|