function out=htmlEscape(txt)
% HTMLESCAPE Execution profiling support function

% Escape special characters <, >, and & to &lt;, &gt;, and &amp;
%
% Copyright 2008-2013 The MathWorks, Inc.

out = strrep(txt,'&','&amp;');
out = strrep(out,'<','&lt;');
out = strrep(out,'>','&gt;');