This is a static copy of a profile reportHome
graph2dhelper (975 calls, 1.038 sec)
Generated 05-Aug-2011 13:02:24 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/graph2dhelper.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 |
28 | feval(varargin{:}); | 89 | 0.700 s | 67.4% |  |
31 | [varargout{1:nargout}] = feval... | 816 | 0.317 s | 30.5% |  |
33 | end | 905 | 0 s | 0% |  |
32 | end | 816 | 0 s | 0% |  |
30 | else | 816 | 0 s | 0% |  |
All other lines | | | 0.022 s | 2.1% |  |
Totals | | | 1.038 s | 100% | |
Children (called functions)
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 33 |
Non-code lines (comments, blank lines) | 20 |
Code lines (lines that can run) | 13 |
Code lines that did run | 12 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 92.31 % |
Function listing
time calls line
1 function varargout=graph2dhelper(varargin)
2 %GRAPH2DHELPER Switchyard for private graph2d functions
3
4 % FH=GRAPH2DHELPER(FNAME) returns a function handle to the function FNAME
5 %
6 % [OUT1,OUT1,...]=GRAPH2DHELPER(FNAME,ARG1,ARG2,...) evaluates function
7 % FNAME with arguments ARG1,ARG2,... and returns outputs OUT1,OUT2,...
8 % Legal functions include functions located in graph2d/private directory
9 % and other functions that are on the MATLAB path. Individual arguments
10 % (ARG1, ARG2, etc.) may not be cell arrays (same as with feval).
11 %
12 % GRAPH2DHELPER(FNAME,ARG1,ARG2,...) evaluates FNAME with ARG1,ARG2,...
13 % and returns nothing (errors if FNAME specifies outputs).
14 %
15 % GRAPH2DHELPER(NOUTS,FNAME,ARG1,ARG2,...) evaluates FNAME with
16 % ARG1,ARG2,... and reurns NOUTS outputs.
17
18 % Copyright 1984-2006 The MathWorks, Inc.
19 % $ $ $ $
20
975 21 if nargin==1 && ischar(varargin{1})
70 22 varargout{1} = str2func(varargin{1});
905 23 else
905 24 if nargout<1
89 25 if isnumeric(varargin{1})
26 [varargout{1:varargin{1}}] = feval(varargin{2:end});
89 27 else
0.70 89 28 feval(varargin{:});
89 29 end
816 30 else
0.32 816 31 [varargout{1:nargout}] = feval(varargin{:});
816 32 end
905 33 end