This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
148 | [ fname, argDescriptor ] = mat... | 2 | 0.010 s | 100.0% |  |
151 | end | 2 | 0 s | 0% |  |
143 | if ~iscellstr( validStrings ) | 2 | 0 s | 0% |  |
141 | validStrings = inputs{2}; | 2 | 0 s | 0% |  |
140 | in = inputs{1}; | 2 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.010 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
generateArgumentDescriptor | function | 2 | 0 s | 0% |  |
iscellstr | function | 2 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0.010 s | 100.0% |  |
Totals | | | 0.010 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 15 |
Non-code lines (comments, blank lines) | 8 |
Code lines (lines that can run) | 7 |
Code lines that did run | 5 |
Code lines that did not run | 2 |
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