RUN_export_all format batch file template
#!/bin/tcsh -f
setenv TERM
unsetenv DISPLAY


matlab -R4 > batch_11560mc.out<< EOF
path('/boreas0/gatenb/matlab/apd1_format',path)
path('/boreas0/gatenb/matlab/spm96',path)
apd1_realign('/patty4/cheryl/dyslexia12/setups_fmri/setup_fmri.11560d','AQm',11.5);
quit
EOF

matlab -R4 > batch_11560.out<< EOF
clear all;
OffOn = [1 2 3 4 5 6 7 8];
Slice = [1:10];
Stat = [26 22];
Name = '11560d';
global motion_corrected
motion_corrected = 7;
save_directory = '/spot5/cheryl/fmri_data_dyschild/';
fmri_batch;
quit
EOF