g_names nameA nameB];
0233         <span class="keyword">end</span>
0234         nameB4 = nameB;
0235     <span class="keyword">end</span>
0236     
0237     <span class="keyword">if</span> (num_segs == 1 | num_segs == 2)
0238         seg_names = seg_names;
0239     <span class="keyword">elseif</span> (num_segs== 3)
0240         seg_names = [seg_names(1:2) seg_names(end)];
0241     <span class="keyword">else</span>
0242         seg_names = [seg_names(1:2) seg_names(end-1:end)];
0243     <span class="keyword