This is a static copy of a profile reportHome
filesep (6546 calls, 0.290 sec)
Generated 05-Nov-2014 07:52:32 using cpu time.
function in file /usr1/opt/matlab/7.13/toolbox/matlab/iofun/filesep.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 |
12 | if strncmp(computer,'PC',2) | 6546 | 0.100 s | 34.5% |  |
16 | end | 6546 | 0.050 s | 17.2% |  |
15 | f = '/'; | 6546 | 0.050 s | 17.2% |  |
14 | else % isunix | 6546 | 0.010 s | 3.4% |  |
All other lines | | | 0.080 s | 27.6% |  |
Totals | | | 0.290 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 16 |
Non-code lines (comments, blank lines) | 11 |
Code lines (lines that can run) | 5 |
Code lines that did run | 4 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 80.00 % |
Function listing
time calls line
1 function f = filesep
2 %FILESEP Directory separator for this platform.
3 % F = FILESEP returns the file separator character for this platform.
4 % The file separator is the character that separates
5 % directory names in filenames.
6 %
7 % See also PATHSEP, FULLFILE.
8
9 % Copyright 1984-2003 The MathWorks, Inc.
10 % $Revision: 1.17.4.2 $ $Date: 2004/04/10 23:29:24 $
11
0.10 6546 12 if strncmp(computer,'PC',2)
13 f = '\';
0.01 6546 14 else % isunix
0.05 6546 15 f = '/';
0.05 6546 16 end