This is a static copy of a profile report

Home

validatestring>checkInputs (6 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:24 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/lang/validatestring.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
validatestringfunction6
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
163
end
60 s0%
161
optional_inputs = inputs(3:end...
60 s0%
157
if ~iscellstr( validStrings )
60 s0%
155
validStrings = inputs{2};
60 s0%
154
in = inputs{1};
60 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 function13
Non-code lines (comments, blank lines)6
Code lines (lines that can run)7
Code lines that did run5
Code lines that did not run2
Coverage (did run/can run)71.43 %
Function listing
time 
calls 
 line
 151 
function [ in, validStrings, optional_inputs ]  = checkInputs( inputs )
 152 
    
 153 
% 
      6 
 154 
in = inputs{1}; 
      6 
 155 
validStrings = inputs{2}; 
 156 

      6 
 157 
if ~iscellstr( validStrings ) 
 158 
    error(message('MATLAB:validatestring:invalidStringList'))
 159 
end
 160 

      6 
 161 
optional_inputs = inputs(3:end); 
 162 

      6 
 163 
end