This is a static copy of a profile report

Home

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

Home

isCharOrString (Calls: 6, Time: 0.000 s)
Generated 01-May-2020 20:23:08 using performance time.
function in file /Applications/MATLAB_R2018a.app/toolbox/matlab/specgraph/+matlab/+graphics/+internal/isCharOrString.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
colormapfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
10
end
60.000 s0.8%
9
out = ischar(args) || (isstrin...
60.000 s0.2%
All other lines  0.000 s99.0%
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 function10
Non-code lines (comments, blank lines)8
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function out = isCharOrString(args)
   2 
% This undocumented function may be removed in a future release.
   3 

   4 
%   isCharOrString -  Determines whether an input is a character or a MATLAB
   5 
%   string.
   6 
%   isCharOrString(s) returns 1 if S is a character or a string.
   7 
%   Copyright 2017 MathWorks, Inc.
   8 

< 0.001 
      6 
   9
out = ischar(args) || (isstring(args) && isscalar(args)); 
< 0.001 
      6 
  10
end 

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