0001 function job_edit_act_change_hemi(inst_id)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 global vbmeg_inst;
0015
0016
0017
0018
0019
0020 plot_parm = vbmeg_inst.editact{inst_id}.plot_parm;
0021 cb1 = vbmeg_inst.editact{inst_id}.cb1;
0022 cb2 = vbmeg_inst.editact{inst_id}.cb2;
0023
0024 if get(cb1,'Value')==0 & get(cb2,'Value')==0,
0025 set(cb1,'Value',1);
0026 plot_parm.LRflag = 'L';
0027 elseif get(cb1,'Value')==1 & get(cb2,'Value')==1,
0028 plot_parm.LRflag = 'LR';
0029 elseif get(cb1,'Value')==1,
0030 plot_parm.LRflag = 'L';
0031 else
0032 plot_parm.LRflag = 'R';
0033 end
0034 vbmeg_inst.editact{inst_id}.plot_parm = plot_parm;
0035
0036
0037
0038
0039
0040 job_edit_act_update_spatialpattern(inst_id);