I'm trying to use freesurfer/fsfast on Mac Pro and found preproc-sess fails in mcparams2etreg.

The problem seems actually in Mac version of MATLAB, which does not terminate properly when it finishes processing the piped code without an explicit 'exit' at the end of it (I asked Mathworks and confirmed this is a bug existing in all MATLAB versions for Mac OS X). Because the MATLAB process does not quit, mcparams2etreg can not continue processing the rest.

A workaround for this problem is to put a wrapper script that calls matlab after adding 'exit' at the end of the piped code, with the name of 'matlab' in the shell path.

Is this a known issue?

--
Shigeaki Nishina
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to