This is a static copy of a profile reportHome
scribe/private/createScribeUIMenuEntry>localCreateNumEntry (14 calls, 0.044 sec)
Generated 05-Aug-2011 13:02:32 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/private/createScribeUIMenuEntry.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
366 | uimenu(entry,... | 182 | 0.044 s | 100.0% |  |
372 | end | 182 | 0 s | 0% |  |
365 | for k=1:length(values) | 14 | 0 s | 0% |  |
360 | entry=uimenu(hFig,... | 14 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.044 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 16 |
Non-code lines (comments, blank lines) | 12 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
357 function entry = localCreateNumEntry(hFig,displayText,propName,values,format,undoName)
358 % General helper function for menus with numeric values.
359
14 360 entry=uimenu(hFig,...
361 'HandleVisibility','off',...
362 'Label',displayText,...
363 'Visible','off',...
364 'Callback',{@localUpdateCheck,hFig,propName,format});
14 365 for k=1:length(values)
0.04 182 366 uimenu(entry,...
367 'HandleVisibility','off',...
368 'Label',sprintf(format,values(k)),...
369 'Separator','off',...
370 'Visible','off',...
371 'Callback',{@scribeContextMenuCallback,'localUpdateValue',hFig,propName,values(k),undoName});
182 372 end
Other subfunctions in this file are not included in this listing.