This is a static copy of a profile reportHome
graph2dhelper (32 calls, 0.435 sec)
Generated 18-Mar-2011 23:32:10 using cpu time.
M-function in file /Applications/MATLAB_R2010a.app/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 |
31 | [varargout{1:nargout}] = feval... | 20 | 0.404 s | 92.9% |  |
28 | feval(varargin{:}); | 2 | 0.031 s | 7.1% |  |
33 | end | 22 | 0 s | 0% |  |
32 | end | 20 | 0 s | 0% |  |
30 | else | 20 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.435 s | 100% | |
Children (called functions)
M-Lint results
No M-Lint 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
32 21 if nargin==1 && ischar(varargin{1})
10 22 varargout{1} = str2func(varargin{1});
22 23 else
22 24 if nargout<1
2 25 if isnumeric(varargin{1})
26 [varargout{1:varargin{1}}] = feval(varargin{2:end});
2 27 else
0.03 2 28 feval(varargin{:});
2 29 end
20 30 else
0.40 20 31 [varargout{1:nargout}] = feval(varargin{:});
20 32 end
22 33 end