Dear Markus,
On 25.01.2012, at 21:06, Markus Gschwind wrote:
> Does this mean that it is generally not possible co run fsl commands on a Mac like this:
>
> system('fslmaths myfile.nii -add myotherfile.nii etc')
>
> and that I do have to make the detour across sprintf('sh -c " etc...)?
starting Matlab from the commandline should do the trick. (As in `/Applications/MATLAB_R2011a.app/bin/matlabī.)
Environment variables set in .bashrc et al are not available to Applications started from the Finder. For some sort of workaround, look up `~/.MacOSX/environment.plistī.
Regards,
Timm
|