This is a static copy of a profile reportHome
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)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
84 | end | 11 | 0 s | 0% |  |
83 | end | 11 | 0 s | 0% |  |
82 | str = [str, fileSeparator]; | 11 | 0 s | 0% |  |
81 | if ~isempty(str) && (s... | 11 | 0 s | 0% |  |
78 | if isempty (bIsPC) | 11 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 9 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 8 |
Code lines that did run | 6 |
Code lines that did not run | 2 |
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.