r: '</span> yalmiperror(errorflag1)]); <span class="comment">% some other error</span>
0162         <span class="keyword">end</span>        
0163     <span class="keyword">end</span>
0164 
0165     <a name="_sub2" href="#_subfunctions" class="code">function update_hist_data()</a>
0166         
0167         Sys.system_data.time(end+1) = time_new;
0168         Sys.system_data.U(:,end+1) = u_new;
0169         Sys.system_data.X(:,end+1) = x_new;
0170         Sys.system_data.Y(:,end+1) = y_new;
0171         Sys.