    fprintf(<span class="string">'\n'</span>)
0138     
0139     <span class="keyword">else</span> chk = true;
0140         
0141     <span class="keyword">end</span>
0142     
0143     <span class="comment">%delete the field if the criteria aren't matched:</span>
0144     <span class="keyword">if</span> ~chk
0145         s = rmfield(s,cellField);
0146     <span class="keyword">end</span>
0147 <span class="keyword">end</span>
0148 
0149 
0150 <a name="_sub5" href="#_subfunctions" class="code">function Apply