This is a static copy of a profile report

Home

fullfile>addTrailingFileSep (121 calls, 0.006 sec)
Generated 04-Aug-2014 13:05:13 using cpu time.
subfunction in file /share/apps/matlabr2014a/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fullfile>ensureTrailingFilesepsubfunction121
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
76
if ~isempty(str) && (s...
1210.006 s100.0%
79
end
1210 s0%
78
end
1210 s0%
77
str = [str, fileSeparator];
1210 s0%
75
bIsPC = ispc;
1210 s0%
All other lines  0 s0%
Totals  0.006 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
ispcfunction1210 s0%
filesepfunction1210 s0%
Self time (built-ins, overhead, etc.)  0.006 s100.0%
Totals  0.006 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
calls 
 line
  73 
function str = addTrailingFileSep(str)
    121 
  74 
    fileSeparator = filesep; 
    121 
  75 
    bIsPC = ispc; 
< 0.01 
    121 
  76 
    if ~isempty(str) && (str(end) ~= fileSeparator && ~(bIsPC && str(end) == '/')) 
    121 
  77 
        str = [str, fileSeparator]; 
    121 
  78 
    end 
    121 
  79 
end 

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