zontalAlignment,horzEnum(:,1));
0102     
0103     <span class="keyword">if</span> ~any(vertChk)
0104         <span class="comment">%no valid string found, warn user and delete the field.</span>
0105         warning([sprintf(<span class="string">'Horizontal Alignment string is not valid. Options are:\n'</span>),<span class="keyword">...</span>
0106             sprintf(<span class="string">'%s\n'</span>,horzEnum{:,1})])
0107         
0108         s = rmfield(s,<span class="string">'HorizontalAlignment'</span