Dear SPMers,
we are trying to write matlab scripts which automatically calculate and
write the contrast images without use of the graphics user interface.
Has somebody done something similar?
We couldn't find out how to do it. We basically need to know which
SPM functions need to be called and with which input parameters (the
length of the spm_results_ui.m file encouraged me to ask the experts...).
A main problem seems to be the definition of the contrast by a script.
Interestingly enough, when the Default is set to command line input and
the Results section is started, one is prompted to define the name and the
contrast on the usual contrast manager window. So the command line input
doesn't really work for this step either.
Any hints as to how to proceed would be greately appreciated.
Cheers,
Jorge
-------------------------------------------------------------------
Jorge Jovicich, Dr. rer. nat.
Dept. of Neurology | Computation and Neuronal Systems
Harbor-UCLA Medical Center | California Institute of Technology
1124 W Carson St. B-4 | 1200 E California Blv.
Torrance, CA 90502, USA | Pasadena, CA 91125, USA
310-222-5656/7 | 626-395-2882
310-222-5658 (fax) | 626-796-8876 (fax)
[log in to unmask] | [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|