This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...areaHGUsingMATLABClasses>parseargssubfunction37
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
15
elseif npvpairs ~= fix(npvpair...
370 s0%
13
if (length(pvpairs) == 1) &...
370 s0%
12
if nargin == 1, linestyle = tr...
370 s0%
11
npvpairs = length(pvpairs)/2;
370 s0%
10
msg = '';
370 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function17
Non-code lines (comments, blank lines)9
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
time 
calls 
 line
   1 
function msg = checkpvpairs(pvpairs,linestyle)
   2 
%CHECKPVPAIRS Check length of property value pair inputs
   3 
%   MSG = CHECKPVPAIRS(PAIRS) returns an error message if the
   4 
%   length of the supplied cell array of property value pairs is
   5 
%   incorrect. The message is tailored to accepting LINESPEC as an
   6 
%   option convenience input argument.
   7 

   8 
%   Copyright 1984-2011 The MathWorks, Inc.
   9 

     37 
  10 
msg = ''; 
     37 
  11 
npvpairs = length(pvpairs)/2; 
     37 
  12 
if nargin == 1, linestyle = true; end 
     37 
  13 
if (length(pvpairs) == 1) && linestyle 
  14 
  msg = message('MATLAB:checkpvpairs:UnrecognizedLineStyleParameter');
     37 
  15 
elseif npvpairs ~= fix(npvpairs) 
  16 
  msg = message('MATLAB:checkpvpairs:EvenPropValuePairs');
  17 
end

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