I am trying to make a script in MATLAB that runs also some commands. Everything works fine so far except from the nii2mnc
. I am getting different results when i run it in cmd and when i run it through my script in MATLAB.
At first the problem was the version of nii2mnc
i was using. I fixed that and i am using the same version in both.
$ which nii2mnc
/data/lfs2/software/ubuntu14/minc-itk4-1.9.11-20160202/bin/nii2mnc
The mnc files i am getting though have different sizes (the one from my script is bigger).
Any suggestions?