This is a static copy of a profile report

Home

isdir (Calls: 1, Time: 0.000 s)
Generated 18-May-2021 16:05:21 using performance time.
function in file /usr/local/MATLAB/R2021a/toolbox/matlab/general/isdir.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
getSupportPackageRootNoCreatefunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
13
result = ~isempty(dirpath) &am...
10.000 s60.9%
All other lines  0.000 s39.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 function13
Non-code lines (comments, blank lines)12
Code lines (lines that can run)1
Code lines that did run1
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function result = isdir(dirpath)
   2 

   3 
%ISDIR is not recommended. Use ISFOLDER instead.
   4 
%
   5 
%ISDIR  True if argument is a directory.
   6 
%   ISDIR(DIR) returns a 1 if DIR is a directory and 0 otherwise.
   7 
%
   8 
%   See also FINFO, MKDIR.
   9 

  10 
%   P. Barnard 1-10-95
  11 
%   Copyright 1984-2020 The MathWorks, Inc.
  12 

< 0.001 
      1 
  13
result = ~isempty(dirpath) && isfolder(dirpath); 

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