This is a static copy of a profile reportHome
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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
231 | end | 2 | 0 s | 0% |  |
230 | disp(helpStr); | 2 | 0 s | 0% |  |
229 | else | 2 | 0 s | 0% |  |
201 | if isequal(get(0,'More'),'on') | 2 | 0 s | 0% |  |
Other lines & overhead | | | 0 s | 0% |  |
Totals | | | 0.000 s | 0% | |
Children (called functions)
No childrenM-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in file | 35 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 27 |
Code lines that did run | 4 |
Code lines that did not run | 23 |
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.