This is a static copy of a profile report

Home

Function details for filesepThis is a static copy of a profile report

Home

filesep (Calls: 10, Time: 0.001 s)
Generated 28-Jun-2020 22:32:32 using performance time.
function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/iofun/filesep.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
general/private/parsedirsfunction10
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
if strncmp(computer,'PC',2)
100.000 s66.2%
15
end
100.000 s1.5%
14
f = '/';
100.000 s0.3%
13
else  % isunix
100.000 s0.3%
All other lines  0.000 s31.7%
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 function15
Non-code lines (comments, blank lines)10
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
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 

< 0.001 
     10 
  11
if strncmp(computer,'PC',2) 
  12 
    f = '\';
< 0.001 
     10 
  13
else  % isunix 
< 0.001 
     10 
  14
    f = '/'; 
< 0.001 
     10 
  15
end 

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