%   BAT.m

%   This software is protected by german copyright and international treaties.             
%   Copyright 2004 Markus Junghöfer & Peter Peyk. All Rights Reserved.                     
%                                                                                          
%   THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE        
%   NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO,    
%   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE    
%   OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
%   TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT,       
%   INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE      
%   OR DOCUMENTATION. 

%---------------------------------------------------------------
% user variables defined here 
%---------------------------------------------------------------

%---------------------------------------------------------------
                                                                     
% batch variables defined here for analyses
%---------------------------------------------------------------
global SubVec MaskStr

MaskStr='a'
SubVec=[2:10]
NSub=length(SubVec);
NSess=6;
NTotSess=NSub.*NSess;
TypeVec=6.*ones(1,NTotSess);
IndexVec=[1:NTotSess];
WorkDirVec=ones(1,NTotSess);
MFileVec=ones(1,NTotSess);

analyses = struct( ... 
   'type', 			TypeVec, ...
   'index', 		IndexVec, ...
   'work_dir', 	WorkDirVec, ...
   'mfile', 		MFileVec);

%-------------------------------------------

type = {'model','contrasts','defaults_edit','headers',...
	'means','realign','normalisation','smooth'};

%-------------------------------------------
WdP=['E:\fMRIData\fMRIDataGV\'];
work_dir = {WdP};

%-------------------------------------------
m1=['E:\MATLAB\toolbox\fMRI\BatchRealign']
mfile={m1};

%-------------------------------------------

