This is a static copy of a profile reportHome
scribe.legend.methods (12 calls, 0.119 sec)
Generated 28-Feb-2011 19:18:00 using cpu time.
M-function in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/@scribe/@legend/methods.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 |
17 | feval(args{:}); | 4 | 0.099 s | 83.3% |  |
19 | [varargout{1:nargout}] = feval... | 8 | 0.020 s | 16.7% |  |
20 | end | 8 | 0 s | 0% |  |
18 | else | 8 | 0 s | 0% |  |
16 | if nargout == 0 | 12 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.119 s | 100% | |
Children (called functions)
M-Lint results
Line number | Message |
15 | { A{:} B } can often be replaced by [ A {B}], which can be much faster. |
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 20 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 12 |
Code lines that did run | 7 |
Code lines that did not run | 5 |
Coverage (did run/can run) | 58.33 % |
Function listing
time calls line
1 function varargout = methods(this,fcn,varargin)
2 %METHODS Methods for legend class
3
4 % Copyright 1984-2009 The MathWorks, Inc.
5 % $Revision: 1.1.6.53 $ $Date: 2009/09/03 05:25:26 $
6
7 % one arg is methods(obj) call
12 8 if nargin==1
9 cls= this.classhandle;
10 m = get(cls,'Methods');
11 varargout{1} = get(m,'Name');
12 return;
13 end
14
12 15 args = {fcn,this,varargin{:}};
12 16 if nargout == 0
0.10 4 17 feval(args{:});
8 18 else
0.02 8 19 [varargout{1:nargout}] = feval(args{:});
8 20 end
Other subfunctions in this file are not included in this listing.