This is a static copy of a profile report Home
Function details for isCharOrString This 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 Name Function Type Calls colormap function 6
Lines where the most time was spent
Line Number Code Calls Total Time % Time Time Plot 10 end 6 0.000 s 0.8% 9 out = ischar(args) || (isstrin... 6 0.000 s 0.2% All other lines 0.000 s 99.0% Totals 0.000 s 100%
Children (called functions) No children
Code Analyzer results No Code Analyzer messages.
Coverage results Show coverage for parent directoryTotal lines in function 10 Non-code lines (comments, blank lines) 8 Code lines (lines that can run) 2 Code lines that did run 2 Code lines that did not run 0 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.