This is a static copy of a profile report

Home

specgraphhelper (148 calls, 0.333 sec)
Generated 14-Nov-2016 07:47:13 using cpu time.
function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/specgraph/specgraphhelper.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
Area.doPostSetupfunction37
Area.doUpdatefunction111
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
31
[varargout{1:nargout}] = feval...
1110.333 s100.0%
33
end
1480 s0%
32
end
1110 s0%
30
else
1110 s0%
29
end
370 s0%
All other lines  0 s0%
Totals  0.333 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
specgraph/private/areaHelperfunction1480.333 s100.0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0.333 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function33
Non-code lines (comments, blank lines)20
Code lines (lines that can run)13
Code lines that did run11
Code lines that did not run2
Coverage (did run/can run)84.62 %
Function listing
time 
calls 
 line
   1 
function varargout=specgraphhelper(varargin)
   2 
%SPECGRAPHHELPER Switchyard for private specgraph functions
   3 

   4 
%   FH=SPECGRAPHHELPER(FNAME) returns a function handle to the function FNAME
   5 
%
   6 
%   [OUT1,OUT1,...]=SPECGRAPHHELPER(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 
%   SPECGRAPHHELPER(FNAME,ARG1,ARG2,...) evaluates FNAME with ARG1,ARG2,...
  13 
%   and returns nothing (errors if FNAME specifies outputs).
  14 
%
  15 
%   SPECGRAPHHELPER(NOUTS,FNAME,ARG1,ARG2,...) evaluates FNAME with
  16 
%   ARG1,ARG2,... and reurns NOUTS outputs.
  17 

  18 
%   Copyright 2009 The MathWorks, Inc. 
  19 
%   $  $  $  $
  20 

    148 
  21 
if nargin==1 && ischar(varargin{1}) 
  22 
    varargout{1} = str2func(varargin{1});
    148 
  23 
else 
    148 
  24 
    if nargout<1 
     37 
  25 
        if isnumeric(varargin{1}) 
  26 
            [varargout{1:varargin{1}}] = feval(varargin{2:end});
     37 
  27 
        else 
     37 
  28 
            feval(varargin{:}); 
     37 
  29 
        end 
    111 
  30 
    else 
  0.33 
    111 
  31 
        [varargout{1:nargout}] = feval(varargin{:}); 
    111 
  32 
    end 
    148 
  33 
end