0008 <span class="comment">% The function is called by the PROCESS_MAIN_ROUTINE function.</span>
0009 
0010 sFields = fieldnames(s);
0011 nFields = length(sFields);
0012 
0013 <span class="keyword">for</span> n = 1:nFields
0014     curField = sFields{n};
0015     <span class="keyword">try</span>
0016         Interface.(curField) = s.(curField);
0017     <span class="keyword">catch</span> err
0018         
0019         <span class="comment">%format value so it can be displayed if it's a number</span>
0020   