This is a static copy of a profile report

Home

fullfile>addTrailingFileSep (11 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:06 using cpu time.
subfunction in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fullfile>ensureTrailingFilesepsubfunction11
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
84
end
110 s0%
83
end
110 s0%
82
str = [str, fileSeparator];
110 s0%
81
if ~isempty(str) && (s...
110 s0%
78
if isempty (bIsPC)
110 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)1
Code lines (lines that can run)8
Code lines that did run6
Code lines that did not run2
Coverage (did run/can run)75.00 %
Function listing
time 
calls 
 line
  76 
function str = addTrailingFileSep(str, fileSeparator)
     11 
  77 
    persistent bIsPC 
     11 
  78 
    if isempty (bIsPC) 
  79 
        bIsPC = ispc;
  80 
    end
     11 
  81 
    if ~isempty(str) && (str(end) ~= fileSeparator && ~(bIsPC && str(end) == '/')) 
     11 
  82 
        str = [str, fileSeparator]; 
     11 
  83 
    end 
     11 
  84 
end 

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