True, the hacking of SPM code would be quite difficult to achieve this, but
there may be a few options that work below the level of the SPM code.
I found this discussion
http://groups.google.com/group/comp.soft-sys.matlab/browse_thread/thread/e9084923346b9b6f/bdd0199cad54d6da?q=%0D%0Aset(0,'defaultFigureVisible','off')+&rnum=4#bdd0199cad54d6da
which suggests several options-
Running a "null Xserver" which accepts all of the drawing requests and
doesnt do
anything with them, and setting the default visibility of the windows to 0.
My guess is that the second option will not work well, because I
imagine that a
few places in the code will explicitly set the visibility, but the first seems
like it should work.
Good luck,
ken
Quoting Volkmar Glauche <[log in to unmask]>:
> On Thu, 29 Dec 2005, George He wrote:
>
>> I was trying to do some co-registration and reslicing in spm5 in a bash
>> script. I was able to set up a job and run spm_jobman('run',jobs), but this
>> will bring up a graphics window and a progress window, which prevents me
>> from running the script on a remote machine.
>> Is there a way to suppress these windows?
>
> Not without hacking SPM code...
>
> --
> 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
>
----------------------------------------------------
Ken Roberts
Woldorff Laboratory
Center for Cognitive Neuroscience, Duke University
(919) 668-1334
----------------------------------------------------
|