Commit 1fc74dfd authored by Brent Womble's avatar Brent Womble
Browse files

Convert to MATLAB function

parent c097daa0
matlabbatch{1} = {'/data/scratch/kecannon/brainhack2018/raw_data/MPRAGE GRAPPA2/NIFTI/MPRAGE_GRAPPA2.nii'};
%%Individual job for a Cheaha node
%%script needs to be in ~/matlab/
function cheaha_vessels_segment(sub_dir, sub)
%Segment in SPM12 using modified TPMs, input should be a directory and a subject ID
%Add SPM12 and Nifti tools to the path
sub_folder = [sub_dir,'/',sub,'/'];
matlabbatch{1} = {[sub_folder,'r',sub,'_T1.nii,1']};
matlabbatch{1} = 0.001;
matlabbatch{1} = 60;
matlabbatch{1} = [0 0];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment