Home > vbmeg > demo > test_scripts > vb_test_gave6.m

vb_test_gave6

PURPOSE ^

Execute vb_job_current.m.

SYNOPSIS ^

function vb_test_gave6

DESCRIPTION ^

 Execute vb_job_current.m.

 [syntax]
 vb_test_gave6

 [input]

 [output]
 Cortical current file (.curr.mat).

 [history]
 2010-12-03 Taku Yoshioka

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function vb_test_gave6
0002 % Execute vb_job_current.m.
0003 %
0004 % [syntax]
0005 % vb_test_gave6
0006 %
0007 % [input]
0008 %
0009 % [output]
0010 % Cortical current file (.curr.mat).
0011 %
0012 % [history]
0013 % 2010-12-03 Taku Yoshioka
0014 %
0015 % Copyright (C) 2011, ATR All Rights Reserved.
0016 % License : New BSD License(see VBMEG_LICENSE.txt)
0017 
0018 %
0019 % subjects and conditions
0020 %
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 sbj_id = {'0001','0002','0003','0004'};
0023 cond_id = {'LR'};
0024 
0025 %
0026 % Condition and subject loop
0027 %
0028 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0029 for j=1:length(cond_id)
0030   for i=1:length(sbj_id)
0031     proj_root = ['./subjects' filesep sbj_id{i} filesep];
0032     curr_parm.bayesfile ...
0033         = [proj_root 'result' filesep sbj_id{i} '_' cond_id{j} ...
0034            '.bayes.mat'];
0035     curr_parm.currfile ...
0036         = strrep(curr_parm.bayesfile,'.bayes.mat','.curr.mat');
0037     curr_parm.areafile = [];
0038     
0039     vb_job_current(proj_root,curr_parm);
0040   end;
0041 end;
0042 
0043 return;

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005