This is a static copy of a profile report

Home

validatestring>checkInputs (2 calls, 0.010 sec)
Generated 05-Nov-2014 07:52:32 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/matlab/lang/validatestring.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
validatestringfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
148
[ fname, argDescriptor ] = mat...
20.010 s100.0%
151
end
20 s0%
143
if ~iscellstr( validStrings )
20 s0%
141
validStrings = inputs{2};
20 s0%
140
in = inputs{1};
20 s0%
All other lines  0 s0%
Totals  0.010 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
generateArgumentDescriptorfunction20 s0%
iscellstrfunction20 s0%
Self time (built-ins, overhead, etc.)  0.010 s100.0%
Totals  0.010 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function15
Non-code lines (comments, blank lines)8
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
137 function [ in, validStrings, fname, argDescriptor ] = checkInputs( inputs )
138
139 %
2 140 in = inputs{1};
2 141 validStrings = inputs{2};
142
2 143 if ~iscellstr( validStrings )
144 error( 'MATLAB:validatestring:invalidStringList', ...
145 'VALID_STRINGS must be a cell array of strings.' )
146 end
147
0.01 2 148 [ fname, argDescriptor ] = matlab.internal.validators.generateArgumentDescriptor( ...
149 inputs(3:end), 'validatestring' );
150
2 151 end