This is a static copy of a profile reportHome
validatestring>checkInputs (Calls: 20, Time: 0.001 s)
Generated 16-Jul-2020 17:09:40 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/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 |
196 | inputs(1:2) = []; | 20 | 0.000 s | 36.4% | |
192 | if ~iscellstr(validStrings) &a... | 20 | 0.000 s | 17.3% | |
190 | validStrings = inputs{2}; | 20 | 0.000 s | 11.7% | |
189 | in = inputs{1}; | 20 | 0.000 s | 11.2% | |
197 | end | 20 | 0.000 s | 1.2% | |
All other lines | | | 0.000 s | 22.3% | |
Totals | | | 0.001 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 7 |
Code lines that did run | 6 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 85.71 % |
Function listing
time | Calls | line |
---|
| | 187 | function [in, validStrings, inputs] = checkInputs(inputs)
|
| | 188 |
|
< 0.001 | 20 | 189 | in = inputs{1};
|
< 0.001 | 20 | 190 | validStrings = inputs{2};
|
| | 191 |
|
< 0.001 | 20 | 192 | if ~iscellstr(validStrings) && ~isstring(validStrings)
|
| | 193 | error(message('MATLAB:validatestring:invalidStringList'))
|
< 0.001 | 20 | 194 | end
|
| | 195 |
|
< 0.001 | 20 | 196 | inputs(1:2) = [];
|
< 0.001 | 20 | 197 | end
|
Other subfunctions in this file are not included in this listing.