8 c = textscan(fid, <span class="string">'%u %*[^\n]'</span>,1);
0179 nOpenSeg = c{1};    <span class="comment">% number of open boundary segments</span>
0180 clear c
0181 
0182 lin=fgetl(fid); <span class="comment">% skip the next line</span>
0183 
0184 c = textscan(fid, <span class="string">'%u %*[^\n]'</span>,1);
0185 nOpenNodes = c{1};    <span class="comment">% number of open boundary nodes</span>
0186 clear c
0187 
0188 <span class="comment">% Initialise SegCount variable</span>
0189 SegCount = [0,0];