This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
titlefunction18
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
9
ax=[];
180.010 s100.0%
26
end
180 s0%
17
if ~isempty(inds)
180 s0%
16
inds = find(strcmpi('parent',a...
180 s0%
15
if nargs > 0
180 s0%
All other lines  0 s0%
Totals  0.010 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function26
Non-code lines (comments, blank lines)6
Code lines (lines that can run)20
Code lines that did run8
Code lines that did not run12
Coverage (did run/can run)40.00 %
Function listing
time 
calls 
 line
   1 
function [ax,args,nargs] = labelcheck(propname,varargin)
   2 
% Determines if object has text property named propname
   3 
% 
   4 

   5 
%   Copyright 2013 The MathWorks, Inc.
   6 

     18 
   7 
args = varargin{:}; 
     18 
   8 
nargs = length(varargin{:}); 
  0.01 
     18 
   9 
ax=[]; 
     18 
  10 
if (nargs > 0) && (numel(args{1}) == 1) && local_validlabelobj(args{1},propname) 
  11 
  ax = args{1};
  12 
  args = args(2:end);
  13 
  nargs = nargs-1;
  14 
end
     18 
  15 
if nargs > 0 
     18 
  16 
  inds = find(strcmpi('parent',args)); 
     18 
  17 
  if ~isempty(inds) 
  18 
    inds = unique([inds inds+1]);
  19 
    pind = inds(end);
  20 
    if nargs >= pind && local_validlabelobj(args{pind},propname)
  21 
      ax = args{pind};
  22 
      args(inds) = [];
  23 
      nargs = length(args);
  24 
    end
  25 
  end
     18 
  26 
end 

Other subfunctions in this file are not included in this listing.