if you like writing wrappers in python, another thing to consider is
it is a module that you can import in python and it allows you to call
Matlab functions.you can also turn graphics off with available flags.
On Thu, 2010-05-27 at 01:48 -0700, Focke, Niels wrote:
> Dear Experts,
> me are currently trying to run scripted/automated SPM8 processing on a
> cluster engine (SGE, Centos Linux). Principally this is easily done by small
> wrapper scripts that call Matlab with the -r (function) -nodesktop -nosplash
> option. However many SPM functions seem to expect a display to be available
> which is not present in this scenario. Although some steps work with a simple
> warning that a display is missing ("Warning: Unable to open display."),
> several actually fail, e.g. coregistration :
> > Failed: 'Coreg: Estimate'
> > Error using ==> set
> > Width and height must be > 0
> > in file "(...)/spm_orthviews.m" (v2947), function "bbox" at line 830
> Is there a way to suppress the SPM8 output? Or forward the display to
> /dev/null? Anyone tried something similar?
> Any suggestions are very much appreciated.
> Dr. med. Niels Focke
> Dept. of Clin. Neurophysiology
> UMG - University Hospital Göttingen