
0190 
0191 <span class="keyword">for</span> i=1:nOpenSeg    <span class="comment">% for each open boundary segment</span>
0192     c = textscan(fid, <span class="string">'%u %*[^\n]'</span>,1); <span class="comment">% how many nodes in this segment?</span>
0193     SegCount(1) = 1+SegCount(2);
0194     SegCount(2) = SegCount(1)+c{1}-1;
0195     clear c
0196     c = textscan(fid,<span class="string">'%u %*[^\n]'</span>,(SegCount(2)-SegCount(1)+1));    <span class="comment">% get all the nodes in this segmen