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: 6, Time: 0.000 s)
Generated 01-May-2020 08:41:18 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/parsedirsfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
if strncmp(computer,'PC',2)
60.000 s70.5%
15
end
60.000 s1.0%
13
else  % isunix
60.000 s0.2%
14
f = '/';
60.000 s0.2%
All other lines  0.000 s28.1%
Totals  0.000 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 
      6 
  11
if strncmp(computer,'PC',2) 
  12 
    f = '\';
< 0.001 
      6 
  13
else  % isunix 
< 0.001 
      6 
  14
    f = '/'; 
< 0.001 
      6 
  15
end 

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