This is a static copy of a profile report

Home

help>displayHelpText (2 calls, 0.000 sec)
Generated 15-Mar-2007 12:02:09 using real time.
M-subfunction in file C:\Program Files\MATLAB71\toolbox\matlab\helptools\help.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
help>displayHelpM-subfunction2
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
231
end
20 s0%
230
disp(helpStr);
20 s0%
229
else
20 s0%
201
if isequal(get(0,'More'),'on')
20 s0%
Other lines & overhead  0 s0%
Totals  0.000 s0% 
Children (called functions)
No children
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in file35
Non-code lines (comments, blank lines)8
Code lines (lines that can run)27
Code lines that did run4
Code lines that did not run23
Coverage (did run/can run)14.81 %
Function listing
   time   calls  line
199 function displayHelpText(helpStr)
200
2 201 if isequal(get(0,'More'),'on')
202 try
203 % Workaround for the fact that more doesn't work well with disp...
204 % Get the newlines
205 a = regexp(helpStr, '\n');
206 if ~isempty(a)
207 substart = 1;
208 for n=1:length(a)
209 subend = a(n)-1;
210 if subend<substart
211 % This is a blank line
212 disp(' ');
213 else
214 b = helpStr(substart:subend);
215 disp(b);
216 end
217 substart=subend+2;
218 end
219 % display the last line (if after the last carriage return)
220 b = helpStr(subend+2:length(helpStr));
221 if (~isempty(b))
222 disp(b);
223 end
224 else
225 disp(helpStr);
226 end
227 catch
228 end
2 229 else
2 230 disp(helpStr);
2 231 end
232
233

Other subfunctions in this file are not included in this listing.