This is a static copy of a profile reportHome
NumericVarOptsInputs>NumericVarOptsInputs.setFillValue (Calls: 15, Time: 0.002 s)
Generated 04-Jun-2021 04:11:19 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+shared\NumericVarOptsInputs.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 |
109 | if (obj.Type == "auto") | 15 | 0.001 s | 60.2% |  |
112 | cast(val,obj.Type); | 15 | 0.000 s | 19.7% |  |
108 | assert(isscalar(val)&&... | 15 | 0.000 s | 8.3% |  |
113 | end | 15 | 0.000 s | 4.2% |  |
117 | end | 15 | 0.000 s | 0.2% |  |
All other lines | | | 0.000 s | 7.4% |  |
Totals | | | 0.002 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
VarOptsInputs>VarOptsInputs.get.Type | class method | 30 | 0.001 s | 54.0% |  |
Self time (built-ins, overhead, etc.) | | | 0.001 s | 46.0% |  |
Totals | | | 0.002 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 12 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 11 |
Code lines that did run | 8 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 72.73 % |
Function listing
time | Calls | line |
---|
| | 106 | function val = setFillValue(obj,val)
|
< 0.001 | 15 | 107 | try
|
< 0.001 | 15 | 108 | assert(isscalar(val)&&(isnumeric(val)||islogical(val)||ismissing(val)));
|
0.001 | 15 | 109 | if (obj.Type == "auto")
|
| | 110 | cast(val,'uint64');
|
< 0.001 | 15 | 111 | else
|
< 0.001 | 15 | 112 | cast(val,obj.Type);
|
< 0.001 | 15 | 113 | end
|
| | 114 | catch
|
| | 115 | error(message('MATLAB:textio:io:FillValueType',obj.Type));
|
< 0.001 | 15 | 116 | end
|
< 0.001 | 15 | 117 | end
|
Other subfunctions in this file are not included in this listing.