This is a static copy of a profile report

Home

strfun\private\convertStringToOriginalTextType (Calls: 7, Time: 0.001 s)
Generated 04-Jun-2021 04:11:08 using performance time.
function in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\strfun\private\convertStringToOriginalTextType.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
stripfunction2
erasefunction5
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
outputValue = cellstr(outputVa...
50.000 s24.3%
7
outputValue = char(outputValue...
20.000 s12.2%
4
if ismissing(outputValue)
20.000 s8.7%
9
elseif iscell(originalInput)
50.000 s8.6%
3
if ischar(originalInput)
70.000 s6.8%
All other lines  0.000 s39.4%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)2
Code lines (lines that can run)10
Code lines that did run9
Code lines that did not run1
Coverage (did run/can run)90.00 %
Function listing
time 
Calls 
 line
   1 
function outputValue = convertStringToOriginalTextType(outputValue, originalInput)
   2 

< 0.001 
      7 
   3
    if ischar(originalInput) 
< 0.001 
      2 
   4
        if ismissing(outputValue) 
   5 
            outputValue = '';
< 0.001 
      2 
   6
        else 
< 0.001 
      2 
   7
            outputValue = char(outputValue); 
< 0.001 
      2 
   8
        end 
< 0.001 
      5 
   9
    elseif iscell(originalInput) 
< 0.001 
      5 
  10
        outputValue = cellstr(outputValue); 
< 0.001 
      7 
  11
    end 
< 0.001 
      7 
  12
end 

Other subfunctions in this file are not included in this listing.