The only way to do this that I can think of would be to change the
MATLAB code. For the coregistration example, you'd need to comment
out (or remove) the various lines of spm_powell.m containing fprintf.
Best regards,
-John
On 9 April 2012 21:39, MCLAREN, Donald <[log in to unmask]> wrote:
> Is there a way to suppress the terminal output from spm_jobman. For
> example, when running coreg, I get:
> Running 'Coregister: Estimate'
> iteration 1...
> 1.008 0 0 0 0 0 | -1
> 1.008 1.008 0 0 0 0 | -1
> 1.008 1.008 1.008 0 0 0 | -1
> 1.008 1.008 1.008 0.0504 0 0 | -1
> 1.008 1.008 1.008 0.0504 0.0504 0 | -1
> 1.008 1.008 1.008 0.0504 0.0504 0.0504 | -1
> iteration 2...
> ..
> ..
> for every iteration.
>
> Can this be suppressed?
>
> Best Regards, Donald McLaren
> =================
> D.G. McLaren, Ph.D.
> Postdoctoral Research Fellow, GRECC, Bedford VA
> Research Fellow, Department of Neurology, Massachusetts General Hospital and
> Harvard Medical School
> Website: http://www.martinos.org/~mclaren
> Office: (773) 406-2464
> =====================
> This e-mail contains CONFIDENTIAL INFORMATION which may contain PROTECTED
> HEALTHCARE INFORMATION and may also be LEGALLY PRIVILEGED and which is
> intended only for the use of the individual or entity named above. If the
> reader of the e-mail is not the intended recipient or the employee or agent
> responsible for delivering it to the intended recipient, you are hereby
> notified that you are in possession of confidential and privileged
> information. Any unauthorized use, disclosure, copying or the taking of any
> action in reliance on the contents of this information is strictly
> prohibited and may be unlawful. If you have received this e-mail
> unintentionally, please immediately notify the sender via telephone at (773)
> 406-2464 or email.
|