Dear Joon,
as an admittedly dirty hack you can comment out the relevant line in
spm_fmri_spm_ui. Look for the section on "Display Design Report" (around
line 472).
Cheers,
Jan
Joonkoo Park wrote:
> Hi,
>
> I'm wondering if there's a way to prevent GUI (e.g. figure) pop-up during
> the model specification job in the batch system.
>
> I'm using spm_jobman('run_nogui', [jobname]); command to run my jobs in
> matlab environment without jvm and without display (i.e. matlab -nojvm
> -nodisplay). All other jobs that I tested so far, e.g. smoothing,
> normalization, model estimation, etc, can be run using
> spm_jobman('run_nogui', [jobname]), and there is absolutely no use of GUI.
>
> However, model specification gives an error when it tries to display a
> figure for the design matrix (although I think the SPM.mat file is
> successfully saved before this error). I need to prevent model specification
> job to display this figure so that I can seamlessly run a series of jobs
> under matlab environment without display.
>
> I appreciate all your comments in advance.
>
> Joon
>
--
Jan Gläscher, Ph.D. Div. Humanities & Social Sciences
+1 (626) 395-3898 (office) Caltech, Broad Center, M/C 114-96
+1 (626) 395-2000 (fax) 1200 California Blvd
[log in to unmask] Pasadena, CA 91125
|