This is a static copy of a profile report

Home

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

Home

pathsep (Calls: 1956, Time: 0.034 s)
Generated 02-May-2020 21:54:21 using performance time.
function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/iofun/pathsep.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
genpathfunction1938
general/private/catdirsfunction6
general/private/parsedirsfunction12
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
if strncmp(computer,'PC',2)
19560.023 s68.6%
15
end
19560.002 s4.5%
14
p = ':';
19560.000 s1.4%
13
else % isunix
19560.000 s1.1%
All other lines  0.008 s24.5%
Totals  0.034 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 p = pathsep
   2 
%PATHSEP Path separator for this platform.
   3 
%   F = PATHSEP returns the path separator character for this platform.
   4 
%   The path separator is the character that separates directories in
   5 
%   the MATLABPATH variable.
   6 
%
   7 
%   See also PATH, FILESEP, FULLFILE.
   8 

   9 
%   Copyright 1984-2003 The MathWorks, Inc.
  10 

  0.023 
   1956 
  11
if strncmp(computer,'PC',2) 
  12 
  p = ';';
< 0.001 
   1956 
  13
else % isunix 
< 0.001 
   1956 
  14
  p = ':'; 
  0.002 
   1956 
  15
end 

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